List of usage examples for com.google.common.util.concurrent AbstractIdleService subclass-usage
From source file org.graylog.plugins.metrics.cassandra.MetricsCassandraReporterService.java
public class MetricsCassandraReporterService extends AbstractIdleService { private final MetricsCassandraReporterConfiguration configuration; private final CassandraReporter cassandraReporter; @Inject public MetricsCassandraReporterService(CassandraReporter cassandraReporter,
From source file org.bitcoinj.net.BlockingClientManager.java
/**
* <p>A thin wrapper around a set of {@link BlockingClient}s.</p>
*
* <p>Generally, using {@link NioClient} and {@link NioClientManager} should be preferred over {@link BlockingClient}
* and {@link BlockingClientManager} as they scale significantly better, unless you wish to connect over a proxy or use
* some other network settings that cannot be set using NIO.</p>
From source file org.litecoinj.net.BlockingClientManager.java
/**
* <p>A thin wrapper around a set of {@link BlockingClient}s.</p>
*
* <p>Generally, using {@link NioClient} and {@link NioClientManager} should be preferred over {@link BlockingClient}
* and {@link BlockingClientManager} as they scale significantly better, unless you wish to connect over a proxy or use
* some other network settings that cannot be set using NIO.</p>
From source file qa.qcri.nadeef.service.NadeefService.java
/** * Service container which starts / stops the NADEEF thrift service. */ public class NadeefService extends AbstractIdleService { private TServer server; private static Tracer tracer = Tracer.getTracer(NadeefService.class);
From source file org.bitcoinj_extra.net.BlockingClientManager.java
/**
* <p>A thin wrapper around a set of {@link BlockingClient}s.</p>
*
* <p>Generally, using {@link NioClient} and {@link NioClientManager} should be preferred over {@link BlockingClient}
* and {@link BlockingClientManager} as they scale significantly better, unless you wish to connect over a proxy or use
* some other network settings that cannot be set using NIO.</p>
From source file com.dogecoin.dogecoinj.net.BlockingClientManager.java
/**
* <p>A thin wrapper around a set of {@link BlockingClient}s.</p>
*
* <p>Generally, using {@link NioClient} and {@link NioClientManager} should be preferred over {@link BlockingClient}
* and {@link BlockingClientManager} as they scale significantly better, unless you wish to connect over a proxy or use
* some other network settings that cannot be set using NIO.</p>
From source file org.graylog2.initializers.MetricsReporterService.java
/** * @author Dennis Oelkers <dennis@torch.sh> */ @Singleton public class MetricsReporterService extends AbstractIdleService { private final Configuration configuration;
From source file org.graylog.plugins.metrics.elasticsearch.MetricsElasticsearchReporterService.java
public class MetricsElasticsearchReporterService extends AbstractIdleService { private final MetricsElasticsearchReporterConfiguration configuration; private final ElasticsearchReporter elasticsearchReporter; @Inject public MetricsElasticsearchReporterService(ElasticsearchReporter elasticsearchReporter,
From source file com.google.caliper.worker.connection.ClientConnectionService.java
/** * A service that opens and maintains a socket connection to the another process and provides the * worker's interface for communicating with the that process. */ @Singleton public final class ClientConnectionService extends AbstractIdleService {
From source file co.cask.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;