InstrumentedScheduledThreadPoolExecutor
kamon.instrumentation.executor.ExecutorInstrumentation.InstrumentedScheduledThreadPoolExecutor
class InstrumentedScheduledThreadPoolExecutor(wrapped: ScheduledThreadPoolExecutor, name: String, extraTags: TagSet, scheduledActionName: String) extends InstrumentedThreadPool, ScheduledExecutorService
Executor service wrapper for ScheduledThreadPool executors that keeps track of submitted and completed tasks. Since tasks submitted to this type of executor are expected to be delayed for some time we are not explicitly tracking the time-in-queue metric, nor allowing to perform context propagation (at least manually).
The instruments used to track the pool's behavior are removed once the pool is shut down.
Attributes
- Graph
-
- Supertypes
-
trait ScheduledExecutorServiceclass InstrumentedThreadPooltrait ExecutorServicetrait Executorclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
-
ScheduledExecutorService
Attributes
- Definition Classes
-
ScheduledExecutorService
override def scheduleAtFixedRate(command: Runnable, initialDelay: Long, period: Long, unit: TimeUnit): ScheduledFuture[_]
Attributes
- Definition Classes
-
ScheduledExecutorService
override def scheduleWithFixedDelay(command: Runnable, initialDelay: Long, delay: Long, unit: TimeUnit): ScheduledFuture[_]
Attributes
- Definition Classes
-
ScheduledExecutorService
Inherited methods
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> Executor
- Inherited from:
- InstrumentedThreadPool
override def invokeAll[T](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): List[Future[T]]
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
Attributes
- Definition Classes
-
InstrumentedThreadPool -> ExecutorService
- Inherited from:
- InstrumentedThreadPool
In this article