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.tigon.metrics.NoOpMetricsCollectionService.java

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

    @Override

From source file io.pravega.controller.server.rpc.grpc.GRPCServer.java

/**
 * gRPC based RPC Server for the Controller.
 */
@Slf4j
public class GRPCServer extends AbstractIdleService {

From source file co.cask.cdap.common.service.UncaughtExceptionIdleService.java

/**
 * An AbstractIdleService that overrides its executor to use one that doesn't print to stderr the exceptions
 * it gets, but instead
 */
public abstract class UncaughtExceptionIdleService extends AbstractIdleService {

From source file co.cask.tephra.metrics.TxMetricsCollector.java

/**
 * Metrics Collector Class, to emit Transaction Related Metrics.
 * Note: This default implementation is a no-op and doesn't emit any metrics
 */
public class TxMetricsCollector extends AbstractIdleService implements MetricsCollector {

From source file org.arbeitspferde.groningen.utility.MetricsService.java

@Singleton
public class MetricsService extends AbstractIdleService {
    private static final Logger log = Logger.getLogger(MetricsService.class.getCanonicalName());

    private final MetricExporter metricExporter;

From source file co.cask.tephra.persist.AbstractTransactionStateStorage.java

/**
 * Common base class for all transaction storage implementations. This implement logic to prefix a snapshot
 * with a version when encoding, and to select the correct codec for decoding based on this version prefix.
 */
public abstract class AbstractTransactionStateStorage extends AbstractIdleService
        implements TransactionStateStorage {

From source file co.cask.cdap.data.stream.service.heartbeat.NoOpHeartbeatPublisher.java

/**
 * No-op implementation, to remove once notifications are here.
 */
public class NoOpHeartbeatPublisher extends AbstractIdleService implements HeartbeatPublisher {

    @Override

From source file io.pravega.controller.fault.SegmentContainerMonitor.java

/**
 * Class used to monitor the pravega host cluster for failures and ensure the segment containers owned by them are
 * assigned to the other pravega hosts.
 */
@Slf4j
public class SegmentContainerMonitor extends AbstractIdleService {

From source file co.cask.tigon.sql.ioserver.StreamSocketServer.java

/**
 * Abstract Stream Socket Server.
 */
public abstract class StreamSocketServer extends AbstractIdleService {
    protected final Map<String, InetSocketAddress> serverAddressMap = Maps.newHashMap();

From source file org.apache.aurora.benchmark.fakes.FakeDriver.java

public class FakeDriver extends AbstractIdleService implements Driver {
    @Override
    public void blockUntilStopped() {
        // no-op
    }