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 ScheduledExecutorService
trait ExecutorService
trait Executor
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def schedule(command: Runnable, delay: Long, unit: TimeUnit): ScheduledFuture[_]

Attributes

Definition Classes
ScheduledExecutorService
override def schedule[V](callable: Callable[V], delay: Long, unit: TimeUnit): ScheduledFuture[V]

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

override def awaitTermination(timeout: Long, unit: TimeUnit): Boolean

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def execute(command: Runnable): Unit

Attributes

Definition Classes
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
override def invokeAll[T](tasks: Collection[_ <: Callable[T]]): List[Future[T]]

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def invokeAny[T](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): T

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def invokeAny[T](tasks: Collection[_ <: Callable[T]]): T

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def isShutdown: Boolean

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def isTerminated: Boolean

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def shutdown(): Unit

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def shutdownNow(): List[Runnable]

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def submit(task: Runnable): Future[_]

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def submit[T](task: Runnable, result: T): Future[T]

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool
override def submit[T](task: Callable[T]): Future[T]

Attributes

Definition Classes
InstrumentedThreadPool -> ExecutorService
Inherited from:
InstrumentedThreadPool