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 co.cask.common.security.authentication.AbstractKeyManager.java

/**
 * AbstractKeyManager that provides the basic functionality that all key managers share. This includes
 * generation of keys and MACs, and validation of MACs. Subclasses are expected to override the init method.
 */
public abstract class AbstractKeyManager extends AbstractIdleService implements KeyManager {
    private static final Logger LOG = LoggerFactory.getLogger(AbstractKeyManager.class);

From source file co.cask.cdap.data2.datafabric.dataset.service.executor.InMemoryDatasetOpExecutor.java

/**
 * In-memory implementation of {@link DatasetOpExecutor}.
 */
public class InMemoryDatasetOpExecutor extends AbstractIdleService implements DatasetOpExecutor {

    private final RemoteDatasetFramework client;

From source file org.apache.omid.tso.TSOServer.java

@Singleton
public class TSOServer extends AbstractIdleService {

    private static final Logger LOG = LoggerFactory.getLogger(TSOServer.class);

    public static final String DASH_SEPARATOR_80_CHARS = "--------------------------------------------------------------------------------";

From source file com.twitter.hraven.rest.RestServer.java

/**
 * Simple REST server that spawns an embedded Jetty instance to service requests
 * @deprecated in favor of {@link HravenRestServer}
 */
public class RestServer extends AbstractIdleService {
    /** Default TCP port for the server to listen on */

From source file de.dobermai.mqttbot.BotController.java

/**
 * @author Dominik Obermaier
 */
public class BotController extends AbstractIdleService {

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

From source file co.cask.tigon.sql.io.DataIngestionRouter.java

/**
 * Netty Http Service Endpoint for the Users to ingest data.
 */
public class DataIngestionRouter extends AbstractIdleService {
    private static final Logger LOG = LoggerFactory.getLogger(DataIngestionRouter.class);
    private final HttpRouterClientService clientService;

From source file com.chenchengzhi.windtalkers.server.HttpService.java

/**
 * Created by jinchengchen on 11/2/14.
 */
public class HttpService extends AbstractIdleService {

    private static final Logger logger = Logger.getLogger(HttpService.class.getCanonicalName());

From source file com.google.caliper.runner.TrialOutputFactoryService.java

/**
 * A {@link TrialOutputFactory} implemented as a service that manages a directory either under 
 * {@code /tmp} or in a user configured directory.
 * 
 * <p>If there is a user configured directory, then no files will be deleted on service shutdown.
 * Otherwise the only way to ensure that the log files survive service shutdown is to explicitly

From source file com.google.caliper.runner.worker.WorkerOutputFactoryService.java

/**
 * A {@link WorkerOutputFactory} implemented as a service that manages a directory either under
 * {@code /tmp} or in a user configured directory.
 *
 * <p>If there is a user configured directory, then no files will be deleted on service shutdown.
 * Otherwise the only way to ensure that the log files survive service shutdown is to explicitly

From source file org.grycap.gpf4med.Gpf4MedEnactor.java

/**
 * Gpf4Med enactment service.
 * @author Erik Torres <ertorser@upv.es>
 */
public class Gpf4MedEnactor extends AbstractIdleService {