Example usage for com.google.common.util.concurrent AbstractIdleService subclass-usage

List of usage examples for com.google.common.util.concurrent AbstractIdleService subclass-usage

Introduction

In this page you can find the example usage for com.google.common.util.concurrent AbstractIdleService subclass-usage.

Usage

From source file com.spotify.helios.servicescommon.coordination.RetryingZooKeeperNodeWriter.java

/**
 * A ZooKeeper node writer that retries forever.
 */
public class RetryingZooKeeperNodeWriter extends AbstractIdleService {

    private static final Logger log = LoggerFactory.getLogger(RetryingZooKeeperNodeWriter.class);

From source file com.zaradai.kunzite.optimizer.eval.local.AbstractCalcEngine.java

public abstract class AbstractCalcEngine extends AbstractIdleService implements CalcEngine {
    private static final Logger LOGGER = LoggerFactory.getLogger(CalcEngine.class);

    private DataManager dataManager;
    private final EvaluatorFactory evaluatorFactory;
    private final Map<Class<? extends Evaluator>, Evaluator> evaluatorCache;

From source file org.apache.gobblin.scheduler.SchedulerService.java

/**
 * A {@link com.google.common.util.concurrent.Service} wrapping a Quartz {@link Scheduler} allowing correct shutdown
 * of the scheduler when {@link JobScheduler} fails to initialize.
 */
public class SchedulerService extends AbstractIdleService {

From source file co.cask.cdap.gateway.collector.NettyFlumeCollector.java

/**
 * This is a Flume collector built directly on Netty using Avro IPC.
 * It relies on a FlumeAdapter to do the actual ingestion of events.
 */
public class NettyFlumeCollector extends AbstractIdleService {

From source file org.apache.tephra.persist.NoOpTransactionStateStorage.java

/**
 * Minimal {@link TransactionStateStorage} implementation that does nothing, i.e. does not maintain any actual state.
 */
public class NoOpTransactionStateStorage extends AbstractIdleService implements TransactionStateStorage {

    private final SnapshotCodec codec;

From source file io.pravega.test.integration.selftest.adapters.StoreAdapter.java

/**
 * Abstraction layer for Pravega operations that are valid from the Self Tester.
 */
public abstract class StoreAdapter extends AbstractIdleService implements AutoCloseable {
    protected final String logId = this.getClass().getSimpleName();

From source file com.intuit.autumn.metrics.CsvMetricsService.java

/**
 * A lifecycle provider for a CVS operational metrics reporter.
 */

public class CsvMetricsService extends AbstractIdleService {

From source file eu.eubrazilcc.lvl.oauth2.OAuth2Service.java

/**
 * OAuth2 service with an operational state, with methods to start and stop.
 * @author Erik Torres <ertorser@upv.es>
 */
public class OAuth2Service extends AbstractIdleService {

From source file eu.eubrazilcc.lvl.service.LeishVirtLabService.java

/**
 * LVL service with an operational state, with methods to start and stop.
 * @author Erik Torres <ertorser@upv.es>
 */
public class LeishVirtLabService extends AbstractIdleService {

From source file org.ratpackframework.server.internal.NettyRatpackService.java

public class NettyRatpackService extends AbstractIdleService implements RatpackService {

    private final Logger logger = Logger.getLogger(getClass().getName());

    private final LaunchConfig launchConfig;
    private InetSocketAddress boundAddress;