List of usage examples for com.google.common.util.concurrent AbstractIdleService subclass-usage
From source file com.amazon.kinesis.streaming.agent.Agent.java
/** * Main class for AWS Firehose Agent. */ public class Agent extends AbstractIdleService implements IHeartbeatProvider { private static volatile boolean dontShutdownOnExit = false;
From source file co.cask.cdap.internal.app.runtime.batch.MapReduceTaskContextProvider.java
/** * Provides access to MapReduceTaskContext for mapreduce job tasks. */ public class MapReduceTaskContextProvider extends AbstractIdleService { private static final Logger LOG = LoggerFactory.getLogger(MapReduceTaskContextProvider.class);
From source file org.apache.twill.internal.yarn.Hadoop20YarnAppClient.java
/** * */ public final class Hadoop20YarnAppClient extends AbstractIdleService implements YarnAppClient { private static final Logger LOG = LoggerFactory.getLogger(Hadoop20YarnAppClient.class);
From source file eu.heronnet.module.kad.net.ClientImpl.java
@Component(value = "distributedStorage") public class ClientImpl extends AbstractIdleService implements Persistence { private static final Logger logger = LoggerFactory.getLogger(ClientImpl.class); private Bootstrap tcpBoostrap;
From source file org.apache.aurora.scheduler.storage.db.DbStorage.java
/** * A storage implementation backed by a relational database. * <p> * Delegates read and write concurrency semantics to the underlying database. */ class DbStorage extends AbstractIdleService implements Storage {
From source file org.apache.aurora.scheduler.TaskVars.java
/** * A container that tracks and exports stat counters for tasks. */ class TaskVars extends AbstractIdleService implements EventSubscriber { private static final Logger LOG = LoggerFactory.getLogger(TaskVars.class); private static final ImmutableSet<ScheduleStatus> TRACKED_JOB_STATES = ImmutableSet.of(ScheduleStatus.LOST,
From source file co.cask.tigon.cli.DistributedFlowOperations.java
/** * Flow Operations Implementation for Distributed Mode. */ public class DistributedFlowOperations extends AbstractIdleService implements FlowOperations { private static final Logger LOG = LoggerFactory.getLogger(DistributedFlowOperations.class);
From source file io.mappum.altcoinj.kits.WalletAppKit.java
/**
* <p>Utility class that wraps the boilerplate needed to set up a new SPV bitcoinj app. Instantiate it with a directory
* and file prefix, optionally configure a few things, then use startAsync and optionally awaitRunning. The object will
* construct and configure a {@link BlockChain}, {@link SPVBlockStore}, {@link Wallet} and {@link PeerGroup}. Depending
* on the value of the blockingStartup property, startup will be considered complete once the block chain has fully
* synchronized, so it can take a while.</p>
From source file org.apache.gobblin.runtime.spec_catalog.FlowCatalog.java
@Alpha public class FlowCatalog extends AbstractIdleService implements SpecCatalog, MutableSpecCatalog, SpecSerDe { public static final String DEFAULT_FLOWSPEC_STORE_CLASS = FSSpecStore.class.getCanonicalName(); protected final SpecCatalogListenersList listeners;
From source file org.apache.gobblin.service.modules.core.GitMonitoringService.java
@Slf4j public abstract class GitMonitoringService extends AbstractIdleService { private static final String REMOTE_NAME = "origin"; private static final int TERMINATION_TIMEOUT = 30; public static final String JAVA_PROPS_EXTENSIONS = "javaPropsExtensions";