| Package | Description |
|---|---|
| io.dropwizard.metrics |
| Modifier and Type | Method and Description |
|---|---|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newScheduledThreadPool(int corePoolSize,
MetricRegistry registry)
Creates an instrumented thread pool that can schedule commands to run after a
given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newScheduledThreadPool(int corePoolSize,
MetricRegistry registry,
String name)
Creates an instrumented thread pool that can schedule commands to run after a
given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newScheduledThreadPool(int corePoolSize,
ThreadFactory threadFactory,
MetricRegistry registry)
Creates an instrumented thread pool that can schedule commands to run after a
given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newScheduledThreadPool(int corePoolSize,
ThreadFactory threadFactory,
MetricRegistry registry,
String name)
Creates an instrumented thread pool that can schedule commands to run after a
given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newSingleThreadScheduledExecutor(MetricRegistry registry)
Creates a single-threaded instrumented executor that can schedule commands
to run after a given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newSingleThreadScheduledExecutor(MetricRegistry registry,
String name)
Creates a single-threaded instrumented executor that can schedule commands
to run after a given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newSingleThreadScheduledExecutor(ThreadFactory threadFactory,
MetricRegistry registry)
Creates a single-threaded instrumented executor that can schedule commands
to run after a given delay, or to execute periodically.
|
static InstrumentedScheduledExecutorService |
InstrumentedExecutors.newSingleThreadScheduledExecutor(ThreadFactory threadFactory,
MetricRegistry registry,
String name)
Creates a single-threaded instrumented executor that can schedule commands
to run after a given delay, or to execute periodically.
|
Copyright © 2021. All rights reserved.