List of usage examples for com.google.common.util.concurrent AbstractScheduledService subclass-usage
From source file com.thinkbiganalytics.spark.service.IdleMonitorService.java
/** * Monitors for activity and stops when the idle timeout occurs. */ public class IdleMonitorService extends AbstractScheduledService { /**
From source file io.pravega.test.integration.selftest.Reporter.java
/** * Reports Test State on a periodic basis. */ class Reporter extends AbstractScheduledService { //region Members
From source file com.spotify.netty4.handler.codec.zmtp.benchmarks.ProgressMeter.java
class ProgressMeter extends AbstractScheduledService { private static final double NANOS_PER_MS = TimeUnit.MILLISECONDS.toNanos(1); private static final long NANOS_PER_S = TimeUnit.SECONDS.toNanos(1); private final AtomicLong totalLatency = new AtomicLong();
From source file net.holmes.core.service.scheduled.CacheCleanerService.java
/** * Scheduled service used to clean caches. */ public class CacheCleanerService extends AbstractScheduledService { private final MediaManager mediaManager; private final int cleanDelayMinutes;
From source file net.holmes.core.service.scheduled.ReleaseCheckService.java
/** * Scheduled service used to check for new Holmes releases. */ public class ReleaseCheckService extends AbstractScheduledService { private final VersionManager versionManager;
From source file com.googlecode.blaisemath.graph.layout.IterativeGraphLayoutService.java
/** * Service used for executing iterative graph layouts on a background thread. * The "runOneIteration" method is assumed to be run from a background or alternate thread. */ class IterativeGraphLayoutService extends AbstractScheduledService {
From source file net.holmes.core.service.scheduled.IcecastDownloadService.java
/** * Scheduled service used to download new Icecast directory. */ public class IcecastDownloadService extends AbstractScheduledService { private final IcecastDao icecastDao; private final int downloadDelayHours;
From source file org.graylog.collector.heartbeat.HeartbeatService.java
public class HeartbeatService extends AbstractScheduledService { private static final Logger LOG = LoggerFactory.getLogger(HeartbeatService.class); private static final String heartbeatIntervalParameter = "heartbeat-interval"; private static final int defaultHeartbeatInterval = 5; private static final String enableRegistrationParameter = "enable-registration";
From source file com.rcaspar.fitbitbat.FitBitBat.java
/**
* Scheduled operations.
*
* @author regis
*/
@Slf4j
From source file co.cask.tigon.internal.app.runtime.AbstractResourceReporter.java
/** * Abstract implementation of a {@link co.cask.tigon.internal.app.runtime.ProgramResourceReporter} * writes out resource metrics at a fixed rate that defaults to 60 seconds, but can be specified * in the constructor. */ public abstract class AbstractResourceReporter extends AbstractScheduledService implements ProgramResourceReporter {