List of usage examples for com.google.common.util.concurrent AbstractScheduledService subclass-usage
From source file com.dssmp.agent.HeartbeatService.java
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
From source file org.geogit.metrics.HeapMemoryMetricsService.java
class HeapMemoryMetricsService extends AbstractScheduledService { private final long MB = 1024 * 1024; private static final MemoryMXBean MEMORY_MX_BEAN = ManagementFactory.getMemoryMXBean();
From source file com.amazon.kinesis.streaming.agent.HeartbeatService.java
public abstract class HeartbeatService extends AbstractScheduledService { private final long period; private final TimeUnit periodUnit; private final AgentContext agent; @Getter private Object lastResult;
From source file org.immutables.bench.BenchmarkScheduleService.java
class BenchmarkScheduleService extends AbstractScheduledService { private final ScheduledExecutorService executor; private final ScheduleConfiguration schedule; private final Runnable iteration;
From source file org.locationtech.geogig.metrics.HeapMemoryMetricsService.java
class HeapMemoryMetricsService extends AbstractScheduledService { private final long MB = 1024 * 1024; private static final MemoryMXBean MEMORY_MX_BEAN = ManagementFactory.getMemoryMXBean();
From source file io.pravega.test.integration.service.selftest.Reporter.java
/** * Reports Test State on a periodic basis. */ class Reporter extends AbstractScheduledService { //region Members
From source file io.pravega.test.integration.segmentstore.selftest.Reporter.java
/** * Reports Test State on a periodic basis. */ class Reporter extends AbstractScheduledService { //region Members
From source file org.apache.eagle.metadata.service.ApplicationStatusUpdateService.java
public abstract class ApplicationStatusUpdateService extends AbstractScheduledService { public abstract void updateApplicationEntityStatus(Collection<ApplicationEntity> applicationEntities); public abstract void updateApplicationEntityStatus(ApplicationEntity applicationEntity); }
From source file com.github.liyp.threads.MyScheduledService.java
public class MyScheduledService extends AbstractScheduledService { static AtomicInteger cnt; protected void startUp() throws Exception { cnt = new AtomicInteger(0);
From source file org.apache.eagle.app.service.ApplicationHealthCheckService.java
public abstract class ApplicationHealthCheckService extends AbstractScheduledService { public abstract void init(Environment environment); public abstract void register(ApplicationEntity appEntity); public abstract void unregister(ApplicationEntity appEntity);