class InstrumentedScheduledThreadPoolExecutor extends InstrumentedThreadPool with 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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InstrumentedScheduledThreadPoolExecutor
- ScheduledExecutorService
- InstrumentedThreadPool
- ExecutorService
- Executor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new InstrumentedScheduledThreadPoolExecutor(wrapped: ScheduledThreadPoolExecutor, name: String, extraTags: TagSet, scheduledActionName: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
awaitTermination(timeout: Long, unit: TimeUnit): Boolean
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(command: Runnable): Unit
- Definition Classes
- InstrumentedThreadPool → Executor
-
def
executorType: String
- Attributes
- protected
- Definition Classes
- InstrumentedScheduledThreadPoolExecutor → InstrumentedThreadPool
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
invokeAll[T](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): List[Future[T]]
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
invokeAll[T](tasks: Collection[_ <: Callable[T]]): List[Future[T]]
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
invokeAny[T](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): T
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
invokeAny[T](tasks: Collection[_ <: Callable[T]]): T
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isShutdown(): Boolean
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
isTerminated(): Boolean
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
schedule[V](callable: Callable[V], delay: Long, unit: TimeUnit): ScheduledFuture[V]
- Definition Classes
- InstrumentedScheduledThreadPoolExecutor → ScheduledExecutorService
-
def
schedule(command: Runnable, delay: Long, unit: TimeUnit): ScheduledFuture[_]
- Definition Classes
- InstrumentedScheduledThreadPoolExecutor → ScheduledExecutorService
-
def
scheduleAtFixedRate(command: Runnable, initialDelay: Long, period: Long, unit: TimeUnit): ScheduledFuture[_]
- Definition Classes
- InstrumentedScheduledThreadPoolExecutor → ScheduledExecutorService
-
def
scheduleWithFixedDelay(command: Runnable, initialDelay: Long, delay: Long, unit: TimeUnit): ScheduledFuture[_]
- Definition Classes
- InstrumentedScheduledThreadPoolExecutor → ScheduledExecutorService
-
def
shutdown(): Unit
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
shutdownNow(): List[Runnable]
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
submit[T](task: Callable[T]): Future[T]
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
submit[T](task: Runnable, result: T): Future[T]
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
def
submit(task: Runnable): Future[_]
- Definition Classes
- InstrumentedThreadPool → ExecutorService
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()