Example usage for com.google.common.util.concurrent AbstractService subclass-usage

List of usage examples for com.google.common.util.concurrent AbstractService subclass-usage

Introduction

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

Usage

From source file org.midonet.brain.services.vxgw.VxLanGatewayService.java

/**
 * A service to integrate a Midonet cloud with hardware VTEPs.
 */
public class VxLanGatewayService extends AbstractService {

    private static final Logger log = LoggerFactory.getLogger(VxLanGatewayService.class);

From source file org.haiku.haikudepotserver.job.LocalJobServiceImpl.java

/**
 * <p>This concrete implementation of the {@link JobService}
 * is able to run jobs locally in the virtual machine; it does not distribute or coordinate the run-state of the
 * jobs across virtual machines etc...</p>
 */

From source file co.cask.cdap.common.zookeeper.coordination.ResourceCoordinator.java

/**
 * Allocate resources to registered handler. It is expected to have single instance of this class
 * running per ZK namespace (determined by the ZKClient passed to constructor). User can use
 * {@link org.apache.twill.internal.zookeeper.LeaderElection} class to help archiving requirement.
 *
 * ZK structure.

From source file com.continuuity.weave.internal.state.ZKServiceDecorator.java

/**
 * A {@link Service} decorator that wrap another {@link Service} with the service states reflected
 * to ZooKeeper.
 */
public final class ZKServiceDecorator extends AbstractService {

From source file com.eventsourcing.postgresql.PostgreSQLJournal.java

@Component(property = "type=PostgreSQLJournal", service = Journal.class)
public class PostgreSQLJournal extends AbstractService implements Journal {

    public static final int MAX_FETCH_SIZE = 10_000;
    @Reference
    protected DataSourceProvider dataSourceProvider;

From source file org.midonet.cluster.cache.StateCache.java

/**
 * Implements a cache for the Network State Database (NSDB) object state. Upon
 * start, an instance of this class exposes an {@link Observable} that when
 * subscribed to emits notifications with the current NSDB object state.
 */
public final class StateCache extends AbstractService {

From source file com.google.caliper.runner.StreamService.java

/**
 * A {@link Service} that establishes a connection over a socket to a process and then allows 
 * multiplexed access to the processes' line oriented output over the socket and the standard 
 * process streams (stdout and stderr) as well as allowing data to be written over the socket.
 * 
 * <p>The {@linkplain State states} of this service are as follows:

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

/**
 * Implementation of the {@link XmlPushService} that uses Netty under the
 * hood to issue the requests to phones.
 *
 * @author akroh
 */

From source file com.google.caliper.runner.worker.Worker.java

/**
 * A {@link Service} that establishes a connection over a socket to a worker process and then allows
 * multiplexed access to the processes' line oriented output over the socket and the standard
 * process streams (stdout and stderr) as well as allowing data to be written over the socket.
 *
 * <p>The {@linkplain State states} of this service are as follows:

From source file com.google.cloud.pubsub.SubscriberConnection.java

/** Implementation of {@link Subscriber}. */
final class SubscriberConnection extends AbstractService {
    private static final Logger logger = LoggerFactory.getLogger(SubscriberConnection.class);

    private static final Duration INITIAL_CHANNEL_RECONNECT_BACKOFF = new Duration(100); // 100ms
    private static final int MAX_PER_REQUEST_CHANGES = 10000;