List of usage examples for com.google.common.util.concurrent AbstractIdleService subclass-usage
From source file co.runrightfast.vertx.orientdb.impl.embedded.EmbeddedOrientDBService.java
/**
*
* @author alfio
*/
@RequiredArgsConstructor
@Log
From source file org.apache.gobblin.rest.JobExecutionInfoServer.java
/** * A server running the Rest.li resource for job execution queries. * * @author Yinan Li */ public class JobExecutionInfoServer extends AbstractIdleService {
From source file com.continuuity.weave.internal.yarn.Hadoop21YarnAMClient.java
/** * */ public final class Hadoop21YarnAMClient extends AbstractIdleService implements YarnAMClient { private static final Logger LOG = LoggerFactory.getLogger(Hadoop21YarnAMClient.class);
From source file org.apache.aurora.scheduler.mesos.VersionedSchedulerDriverService.java
/** * A driver implementation that uses the V1 API drivers from libmesos. */ class VersionedSchedulerDriverService extends AbstractIdleService implements Driver, EventSubscriber { private static final Logger LOG = LoggerFactory.getLogger(VersionedSchedulerDriverService.class);
From source file org.apache.rya.streams.querymanager.kafka.LocalQueryExecutor.java
/**
* A {@link QueryExecutor} that runs a {@link KafkaStreams} job within its own JVM every
* time {@link #startQuery(String, StreamsQuery)} is invoked.
* <p/>
* This executor may run out of JVM resources if it is used to execute too many queries.
*/
From source file co.cask.cdap.app.runtime.spark.SparkTransactionService.java
/** * Provides transaction management for Spark job and stage executors. It also expose an endpoint for stage executors * to get {@link Transaction} information associated with the stage. For detail design, please refer to the * <a href="https://wiki.cask.co/display/CE/Spark+Revamp">design documentation</a>. */ final class SparkTransactionService extends AbstractIdleService {
From source file org.apache.gobblin.runtime.kafka.HighLevelConsumer.java
/**
* A high level consumer for Kafka topics. Subclasses should implement {@link HighLevelConsumer#processMessage(MessageAndMetadata)}
*
* Note each thread will block for each message until {@link #processMessage(MessageAndMetadata)} returns, so for high
* volume topics with few partitions {@link #processMessage(MessageAndMetadata)} must be fast or itself spawn more
* threads.
From source file co.cask.cdap.security.authorization.AuthorizerInstantiatorService.java
/**
* Class to instantiate {@link Authorizer} extensions. Authorization extensions are instantiated using a
* separate {@link ClassLoader} that is built using a bundled jar for the {@link Authorizer} extension that
* contains all its required dependencies. The {@link ClassLoader} is created with the parent as the classloader with
* which the {@link Authorizer} interface is instantiated. This parent only has classes required by the
* {@code cdap-security-spi} module.
From source file co.cask.cdap.app.runtime.spark.distributed.SparkExecutionService.java
/** * The HTTP service for communicating with the {@link SparkMainWrapper} running in the driver * for controlling lifecycle as well as the {@link WorkflowToken}. */ public final class SparkExecutionService extends AbstractIdleService {
From source file com.spotify.helios.agent.ZooKeeperAgentModel.java
/**
* The Helios Agent's view into ZooKeeper.
*
* This caches ZK state to local disk so the agent can continue to function in the face of a ZK
* outage.
*/