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

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

Introduction

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

Usage

From source file com.dangdang.ddframe.job.cloud.scheduler.mesos.TaskLaunchScheduledService.java

/**
 * ???.
 * 
 * @author zhangliang
 * @author gaohongtao
 */

From source file com.cloudera.kitten.appmaster.service.WorkflowService.java

public class WorkflowService extends AbstractScheduledService
        implements ApplicationMasterService, AMRMClientAsync.CallbackHandler {

    private static final Log LOG = LogFactory.getLog(WorkflowService.class);

    public final WorkflowParameters parameters;

From source file com.cloudera.kitten.appmaster.service.ApplicationMasterServiceImpl1.java

public class ApplicationMasterServiceImpl1 extends AbstractScheduledService
        implements ApplicationMasterService, AMRMClientAsync.CallbackHandler {

    private static final Log LOG = LogFactory.getLog(ApplicationMasterServiceImpl1.class);

    private final ApplicationMasterParameters parameters;

From source file gobblin.util.logs.LogCopier.java

/**
 * A utility class that periodically reads log files in a source log file directory for changes
 * since the last reads and appends the changes to destination log files with the same names as
 * the source log files in a destination log directory. The source and destination log files
 * can be on different {@link FileSystem}s.
 *

From source file org.apache.gobblin.util.logs.LogCopier.java

/**
 * A utility class that periodically reads log files in a source log file directory for changes
 * since the last reads and appends the changes to destination log files with the same names as
 * the source log files in a destination log directory. The source and destination log files
 * can be on different {@link FileSystem}s.
 *

From source file com.thinkbiganalytics.spark.service.TransformService.java

/**
 * A scheduled service that manages a database containing cached results of Spark jobs.
 *
 * <p>Before calling {@link #stopAsync()}, all Spark should should be cancelled to ensure that no additional tables will be
 * created.</p>
 */

From source file com.cloudera.kitten.appmaster.service.ApplicationMasterServiceImpl.java

public class ApplicationMasterServiceImpl extends AbstractScheduledService implements ApplicationMasterService {

    protected static final Log LOG = LogFactory.getLog(ApplicationMasterServiceImpl.class);

    protected final ApplicationMasterParameters parameters;
    protected final MasterConnectionFactory<AMRMProtocol> resourceManagerFactory;

From source file org.opendaylight.tsdr.persistence.elasticsearch.ElasticsearchStore.java

/**
 * A service that handles an elasticsearch data store operation.
 *
 * @author Lukas Beles(lbeles@frinx.io)
 */
class ElasticsearchStore extends AbstractScheduledService {

From source file org.icgc.dcc.submission.service.ValidationService.java

/**
 * Coordinator task that runs periodically to dispatch validations for execution.
 * <p>
 * The scheduler pulls from the web request "queue" as input and pushes to the validation "executor" as output. Also
 * responsible for mediating validation cancellation requests coming from the web layer.
 */

From source file org.apache.ambari.server.state.services.AlertNoticeDispatchService.java

/**
 * The {@link AlertNoticeDispatchService} is used to scan the database for
 * {@link AlertNoticeEntity} that are in the {@link NotificationState#PENDING}
 * state. It will then process them through the dispatch system.
 * <p/>
 * The dispatch system will then make a callback to