Example usage for com.google.common.util.concurrent Service interface-usage

List of usage examples for com.google.common.util.concurrent Service interface-usage

Introduction

In this page you can find the example usage for com.google.common.util.concurrent Service interface-usage.

Usage

From source file org.trinity.shell.api.plugin.ShellPlugin.java

/*****************************************
 * General marker interface for every shell plugin. Every shell plugin has a
 * <code>start()</code> and <code>stop()</code> method that is called by the
 * shell when a plugin is started and stopped respectively. Calls to
 * {@code start()} and {@code stop} should be non-blocking and should not spawn
 * any additional threads unless absolutely necessary. Instead a shell plugin

From source file com.eventsourcing.Journal.java

/**
 * Journal is the storage of all events and commands registered
 * through Eventsourcing.
 */
public interface Journal extends Service {

From source file com.andrewkroh.cisco.xmlservices.XmlPushService.java

/**
 * This represents XML service interface running on a Cisco IP Phones. It allows
 * users to submit (push) XML to the phone(s). This push is done via an HTTP
 * POST.
 *
 * <p/>

From source file com.continuuity.weave.zookeeper.ZKClientService.java

/**
 * A {@link ZKClient} that extends from {@link Service} to provide lifecycle management functions.
 * The {@link #start()} method needed to be called before calling any other method on this interface.
 * When the client is no longer needed, call {@link #stop()} to release any resources that it holds.
 */
public interface ZKClientService extends ZKClient, Service {

From source file org.apache.rya.streams.querymanager.QueryChangeLogSource.java

/**
 * A {@link QueryChangeLog} source represents a storage where the change logs reside, but it
 * does not provide a way to create or remove them. Instead, subscribed {@link SourceListener}s
 * are notified whenever a change log is created or removed from the storage.
 */
@DefaultAnnotation(NonNull.class)

From source file c5db.interfaces.C5Server.java

/**
 * A C5Server stands in for global resources that modules might need.  It provides global
 * services, configuration, notification buses and more.
 * <p>
 * Right now this interface is a little too kitchen-sinky, and it should probably have
 * individual responsibilities broken off to make dependencies a bit more clear.

From source file com.heliosapm.streams.tracing.IMetricWriter.java

/**
 * <p>Title: IMetricWriter</p>
 * <p>Description: Defines a class that accepts metrics from a tracer and writes it to an end-point</p> 
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>com.heliosapm.streams.tracing.IMetricWriter</code></p>
 */

From source file net.holmes.core.service.ReleaseCheckService.java

/**
 * Scheduled service used to check for new Holmes releases.
 */
@Singleton
public class ReleaseCheckService extends AbstractScheduledService implements Service {

From source file org.apache.twill.internal.yarn.YarnAppClient.java

/**
 * Interface for launching Yarn application from client.
 */
public interface YarnAppClient extends Service {

    /**

From source file com.eventsourcing.Repository.java

/**
 * Repository is holder of resources necessary to
 * facilitate Eventsourcing operations.
 */
public interface Repository extends Service {