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.graylog.collector.utils.MemoryReporterService.java

public class MemoryReporterService extends AbstractService {
    private static final Logger log = LoggerFactory.getLogger(MemoryReporterService.class);
    private final MemoryReporterServiceConfiguration config;
    private ScheduledExecutorService scheduler = null;
    private ScheduledFuture<?> scheduledJob = null;

From source file org.graylog.collector.file.FileReaderService.java

public class FileReaderService extends AbstractService {
    private static final Logger log = LoggerFactory.getLogger(FileReaderService.class);

    private final PathSet pathSet;
    private final FileInput.InitialReadPosition initialReadPosition;
    private final FileInput input;

From source file com.google.errorprone.apply.DiffApplier.java

/**
 * Applier of diffs to Java source code
 *
 * @author alexeagle@google.com (Alex Eagle)
 * @author sjnickerson@google.com (Simon Nickerson)
 */

From source file org.apache.tephra.inmemory.InMemoryTransactionService.java

/**
 * Transaction server that manages transaction data for the Reactor.
 * <p>
 *   Transaction server is HA, one can start multiple instances, only one of which is active and will register itself in
 *   discovery service.
 * </p>

From source file com.eventsourcing.repository.CommandConsumerImpl.java

@Slf4j
class CommandConsumerImpl extends AbstractService implements CommandConsumer {

    private Executor threadPool = Executors.newWorkStealingPool(Runtime.getRuntime().availableProcessors());

    private final Repository repository;

From source file c5db.eventLogging.EventLogListener.java

/**
 * Created by ryan on 1/30/14.
 */
public class EventLogListener extends AbstractService {
    private static final Logger LOG = LoggerFactory.getLogger(EventLogListener.class);

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

/** Implementation of {@link Subscriber}. */
public class SubscriberImpl extends AbstractService implements Subscriber {
    private static final int DEFAULT_MIN_THREAD_POOL_SIZE = 5;

    private static final Logger logger = LoggerFactory.getLogger(SubscriberImpl.class);

From source file c5db.log.LogService.java

/**
 * The Log module.
 */
public class LogService extends AbstractService implements LogModule {
    private final Path basePath;
    private final FiberSupplier fiberSupplier;

From source file io.pravega.client.state.examples.MembershipSynchronizer.java

@Slf4j
public class MembershipSynchronizer extends AbstractService {

    /**
     * How frequently to update the segment using a heartbeat.
     */

From source file org.helios.rindle.AbstractRindleService.java

/**
 * <p>Title: AbstractRindleService</p>
 * <p>Description: </p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>org.helios.rindle.AbstractRindleService</code></p>