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

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

Introduction

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

Usage

From source file org.apache.gobblin.runtime.scheduler.AbstractJobSpecScheduler.java

/**
 * A base implementation of {@link JobSpecScheduler} that keeps track of {@link JobSpecSchedule}s
 * and listeners. Subclasses are expected to implement mainly
 * {@link #doScheduleJob(JobSpec, Runnable)} and {@link #doUnschedule(JobSpecSchedule)} which
 * implement the actual scheduling.
 */

From source file com.intuit.data.autumn.web.HttpsService.java

/**
 * A lifecycle provider for a Jetty https service.
 */

public class HttpsService extends AbstractIdleService {

From source file co.cask.cdap.data2.datafabric.dataset.service.executor.DatasetOpExecutorService.java

/**
 * Provides various REST endpoints to execute user code via {@link DatasetAdminOpHTTPHandler}.
 */
public class DatasetOpExecutorService extends AbstractIdleService {

    private static final Logger LOG = LoggerFactory.getLogger(DatasetOpExecutorService.class);

From source file org.apache.gobblin.runtime.job_catalog.JobCatalogBase.java

/**
 * An abstract base for {@link JobCatalog}s implementing boilerplate methods (metrics, listeners, etc.)
 */
public abstract class JobCatalogBase extends AbstractIdleService implements JobCatalog {

    protected final JobCatalogListenersList listeners;

From source file io.pravega.segmentstore.server.containers.ReadOnlySegmentContainer.java

/**
 * A slimmed down version of StreamSegmentContainer that is only able to perform reads from Storage. This SegmentContainer
 * cannot make any modifications to any Segments, nor can it create new or delete existing ones. It also cannot access data
 * that exists solely in DurableDataLog (which has not yet been transferred into permanent Storage).
 */
@Slf4j

From source file com.spotify.helios.servicescommon.ZooKeeperRegistrar.java

public class ZooKeeperRegistrar extends AbstractIdleService {

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

    private final ZooKeeperClient client;

From source file us.hgk.rhythm.exp.sextetsinputtest.KeyPressWindowService.java

public class KeyPressWindowService extends AbstractIdleService {
    private static final Logger log = Logger.getLogger(KeyPressWindowService.class.getName());

    private JFrame frame;
    private JPanel panel;
    private JLabel label;

From source file co.runrightfast.incubator.rx.impl.ObservableRingBufferImpl.java

/**
 *
 * @author alfio
 * @param <A> ring buffer item type
 */
@RequiredArgsConstructor

From source file org.apache.tephra.txprune.TransactionPruningService.java

/**
 * Service to prune the invalid list periodically.
 */
public class TransactionPruningService extends AbstractIdleService {
    private static final Logger LOG = LoggerFactory.getLogger(TransactionPruningService.class);

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

/**
 * <p>Title: AbstractMetricWriter</p>
 * <p>Description: Abstract base class for {@link IMetricWriter} implementations</p> 
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>com.heliosapm.streams.tracing.AbstractMetricWriter</code></p>
 */