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 org.graylog2.shared.journal.NoopJournal.java

/**
 * NoopJournal is used when disk journalling is turned off. In order to avoid propagating the knowledge about whether
 * journalling is happening or not, we inject a no-op journal.
 * <p><strong>Any use</strong> of this journal will throw an IllegalStateException.</p>
 */
public class NoopJournal extends AbstractIdleService implements Journal {

From source file uk.ac.ebi.fg.annotare2.web.server.HibernateSessionFactoryProvider.java

/**
 * @author Olga Melnichuk
 */
public class HibernateSessionFactoryProvider extends AbstractIdleService
        implements Provider<HibernateSessionFactory> {

From source file co.cask.cdap.common.metrics.NoOpMetricsCollectionService.java

/**
 * No-op, to be used in unit-tests
 */
public class NoOpMetricsCollectionService extends AbstractIdleService implements MetricsCollectionService {

    @Override

From source file com.torodb.core.services.IdleTorodbService.java

/**
 *
 */
public abstract class IdleTorodbService extends AbstractIdleService implements TorodbService {

    private final ThreadFactory threadFactory;

From source file co.cask.cdap.explore.jdbc.MockHttpService.java

/**
 * A generic http service for testing router.
 */
public class MockHttpService extends AbstractIdleService {
    private static final Logger log = LoggerFactory.getLogger(MockHttpService.class);

From source file org.graylog2.initializers.DashboardRegistryService.java

/**
 * @author Dennis Oelkers <dennis@torch.sh>
 */
@Singleton
public class DashboardRegistryService extends AbstractIdleService {
    private final DashboardRegistry dashboardRegistry;

From source file co.cask.cdap.filetailer.Pipe.java

/**
 * Contains the sink and tailer instances for one Pipe.
 */
public class Pipe extends AbstractIdleService {

    private final ServiceManager serviceManager;

From source file co.cask.cdap.security.auth.AccessTokenValidator.java

/**
 * This class validates the accessToken and returns the different states
 * of accessToken validation.
 */
public class AccessTokenValidator extends AbstractIdleService implements TokenValidator {
    private static final Logger LOG = LoggerFactory.getLogger(AccessTokenValidator.class);

From source file co.cask.common.security.authentication.AccessTokenValidator.java

/**
 * This class validates the accessToken and returns the different states
 * of accessToken validation.
 */
public class AccessTokenValidator extends AbstractIdleService implements TokenValidator {
    private static final Logger LOG = LoggerFactory.getLogger(AccessTokenValidator.class);

From source file co.cask.cdap.security.auth.TokenManager.java

/**
 * Provides a simple interface to generate and validate {@link AccessToken}s.
 */
public class TokenManager extends AbstractIdleService {

    protected final KeyManager keyManager;