List of usage examples for com.google.common.util.concurrent Service interface-usage
From source file org.bitcoinj_extra.net.ClientConnectionManager.java
/**
* <p>A generic interface for an object which keeps track of a set of open client connections, creates new ones and
* ensures they are serviced properly.</p>
*
* <p>When the service is {@link com.google.common.util.concurrent.Service#stop()}ed, all connections will be closed and
* the appropriate connectionClosed() calls must be made.</p>
From source file com.dogecoin.dogecoinj.net.ClientConnectionManager.java
/**
* <p>A generic interface for an object which keeps track of a set of open client connections, creates new ones and
* ensures they are serviced properly.</p>
*
* <p>When the service is {@link com.google.common.util.concurrent.Service#stop()}ed, all connections will be closed and
* the appropriate connectionClosed() calls must be made.</p>
From source file co.runrightfast.app.RunRightFastComponent.java
/** * * @author alfio */ public interface RunRightFastComponent extends Service {
From source file com.azaptree.services.http.HttpService.java
public interface HttpService extends Service { public static final Logger log = LoggerFactory.getLogger(HttpService.class); }
From source file org.codejuicer.asynchronize.example.external.ExternalWrapper.java
@Asynchronize public interface ExternalWrapper extends Executor, Service { String sampleMethod(String inputa); }
From source file com.zaradai.kunzite.trader.services.trader.TraderService.java
public interface TraderService extends Service { void build(StaticConfiguration configuration) throws ConfigException; void onTraderEvent(Object event); }
From source file co.cask.tephra.metrics.MetricsCollector.java
/** * Basic API for Tephra to support system metrics. */ public interface MetricsCollector extends Service { /** * Report a metric as an absolute value.
From source file com.cloudera.kitten.client.YarnClientService.java
/** * A {@code Service} that handles the client-side logic for the lifecycle of a typical * YARN application. */ public interface YarnClientService extends Service {
From source file com.continuuity.weave.kafka.client.KafkaClient.java
/**
* This interface provides methods for interacting with kafka broker. It also
* extends from {@link Service} for lifecycle management. The {@link #start()} method
* must be called prior to other methods in this class. When instance of this class
* is not needed, call {@link #stop()}} to release any resources that it holds.
*/
From source file net.pterodactylus.sone.database.Database.java
/**
* Database for Sone data. This interface combines the various provider, store,
* and builder factory interfaces into a single interface and adds some methods
* necessary for lifecycle management.
*
* @author <a href="mailto:bombe@pterodactylus.net">David Bombe Roden</a>