public class MetricsEmittingExecutorService
extends com.google.common.util.concurrent.ForwardingListeningExecutorService
Constructor and Description |
---|
MetricsEmittingExecutorService(com.google.common.util.concurrent.ListeningExecutorService delegate,
com.metamx.emitter.service.ServiceEmitter emitter,
com.metamx.emitter.service.ServiceMetricEvent.Builder metricBuilder) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.util.concurrent.ListeningExecutorService |
delegate() |
void |
execute(Runnable runnable) |
<T> com.google.common.util.concurrent.ListenableFuture<T> |
submit(Callable<T> tCallable) |
submit, submit
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invokeAll, invokeAll
awaitTermination, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow
public MetricsEmittingExecutorService(com.google.common.util.concurrent.ListeningExecutorService delegate, com.metamx.emitter.service.ServiceEmitter emitter, com.metamx.emitter.service.ServiceMetricEvent.Builder metricBuilder)
protected com.google.common.util.concurrent.ListeningExecutorService delegate()
delegate
in class com.google.common.util.concurrent.ForwardingListeningExecutorService
public <T> com.google.common.util.concurrent.ListenableFuture<T> submit(Callable<T> tCallable)
submit
in interface com.google.common.util.concurrent.ListeningExecutorService
submit
in interface ExecutorService
submit
in class com.google.common.util.concurrent.ForwardingListeningExecutorService
Copyright © 2011–2015. All rights reserved.