List of usage examples for com.google.common.util.concurrent AbstractIdleService subclass-usage
From source file com.epam.wilma.engine.bootstrap.WilmaEngine.java
/** * Starts the proxy, and catches every Application specific exception. * @author Marton_Sereg */ @Component public class WilmaEngine extends AbstractIdleService implements WilmaService {
From source file com.spotify.helios.rollingupdate.RollingUpdateService.java
/** * Deploys and undeploys jobs to implement the desired deployment group state. */ public class RollingUpdateService extends AbstractIdleService { private static final Logger log = LoggerFactory.getLogger(RollingUpdateService.class);
From source file co.cask.tigon.sql.internal.InputFlowletService.java
/** * Starts/Shutdowns Netty TCP Servers for I/O with StreamEngine Processes, DiscoveryServer HTTP Service and * Stream Engine processes. */ public final class InputFlowletService extends AbstractIdleService { private static final Logger LOG = LoggerFactory.getLogger(InputFlowletService.class);
From source file co.cask.tigon.sql.ioserver.StreamEngineIO.java
/** * Handle all I/O Socket Servers for StreamEngine I/O. */ public class StreamEngineIO extends AbstractIdleService { private final InputFlowletSpecification spec; private final List<StreamSocketServer> inputServerSocketServices = Lists.newArrayList();
From source file org.apache.aurora.scheduler.pruning.JobUpdateHistoryPruner.java
/** * Prunes per-job update history on a periodic basis. */ class JobUpdateHistoryPruner extends AbstractIdleService { private static final Logger LOG = LoggerFactory.getLogger(JobUpdateHistoryPruner.class); @VisibleForTesting
From source file org.apache.tephra.hbase.txprune.PruneUpperBoundWriter.java
/** * Thread that will write the the prune upper bound. An instance of this class should be obtained only * through {@link PruneUpperBoundWriterSupplier} which will also handle the lifecycle of this instance. */ public class PruneUpperBoundWriter extends AbstractIdleService { private static final Log LOG = LogFactory.getLog(PruneUpperBoundWriter.class);
From source file co.cask.tephra.coprocessor.TransactionStateCache.java
/** * Periodically refreshes transaction state from the latest stored snapshot. This is implemented as a singleton * to allow a single cache to be shared by all regions on a regionserver. */ public class TransactionStateCache extends AbstractIdleService implements Configurable { private static final Log LOG = LogFactory.getLog(TransactionStateCache.class);
From source file org.apache.twill.internal.kafka.EmbeddedKafkaServer.java
/** * A {@link com.google.common.util.concurrent.Service} implementation for running an instance of Kafka server in * the same process. */ public final class EmbeddedKafkaServer extends AbstractIdleService {
From source file com.korwe.thecore.webcore.listener.WebCoreListener.java
/** * @author <a href="mailto:nithia.govender@korwe.com">Nithia Govender</a> */ public class WebCoreListener extends AbstractIdleService implements CoreMessageHandler { private static final Logger LOG = LoggerFactory.getLogger(WebCoreListener.class);
From source file co.cask.cdap.internal.app.runtime.flow.FlowletRuntimeService.java
/** * This class represents lifecycle of a {@link Flowlet}, Start, Stop, Suspend and Resume. */ final class FlowletRuntimeService extends AbstractIdleService { private static final Logger LOG = LoggerFactory.getLogger(FlowletRuntimeService.class);