| Interface | Description |
|---|---|
| ObjectPool<T> |
An object pool.
|
| ObjectPool.Resource<T> |
Defines a resource, and the way to create and destroy instances of it.
|
| Class | Description |
|---|---|
| Clock |
A clock implementation which default returns the current millis.
|
| Clock.UserTimeClock |
A clock implementation which returns the current millis.
|
| Cpus |
Utility for cpu.
|
| DirectExecutor |
A direct executor.
|
| Ensures |
Simple static methods to be called at the start of your own methods to verify
correct arguments and state.
|
| ExecutorServiceHelper |
Executor service shutdown helper.
|
| Files |
File utilities.
|
| LogScheduledThreadPoolExecutor |
A
ThreadPoolExecutor that can additionally
schedule tasks to run after a given delay with a logger witch can print
error message for failed execution. |
| LogThreadPoolExecutor |
A
ExecutorService that witch can print
error message for failed execution. |
| MetricExecutor |
A
Executor that with a timer metric
which aggregates timing durations and provides duration statistics. |
| MetricReporter |
A reporter which outputs metrics to a
PrintStream, like System.out. |
| MetricReporter.Builder |
A builder for
MetricReporter instances. |
| MetricScheduledThreadPoolExecutor |
A
ThreadPoolExecutor that can additionally
schedule tasks to run after a given delay with a timer metric
which aggregates timing durations and provides duration statistics. |
| MetricsUtil |
In GreptimeDB client, metrics are required.
|
| MetricThreadPoolExecutor |
A
ExecutorService that with a timer metric
which aggregates timing durations and provides duration statistics. |
| NamedThreadFactory |
Named thread factory.
|
| Platform |
Platform utilities.
|
| RcObjectPool<T> |
An shared object pool with ref count.
|
| RcResourceHolder<T> |
Resource holder with ref count.
|
| RefCell<T> |
A reference cell.
|
| SerializingExecutor |
A SerializingExecutor is a queue of tasks that run in sequence.
|
| ServiceLoader<S> |
A simple service-provider loading facility (SPI).
|
| SharedScheduledPool |
Like rust: pub type SharedScheduledPool = RcObjectPool
|
| SharedThreadPool |
Like rust: pub type SharedThreadPool = RcObjectPool
|
| StringBuilderHelper |
Reuse
StringBuilder based on ThreadLocal. |
| Strings |
Static utility methods pertaining to
String or CharSequence
instances. |
| SystemPropertyUtil |
A collection of utility methods to retrieve and
parse the values of the Java system properties.
|
| ThreadPoolMetricRegistry |
A global timer metric registry for thread pool, use threadLocal to pass timer context.
|
| ThreadPoolUtil |
Factory and utility methods for creating
ThreadPoolExecutor and
ScheduledThreadPoolExecutor. |
| ThreadPoolUtil.PoolBuilder | |
| ThreadPoolUtil.ScheduledPoolBuilder |
Copyright © 2023. All rights reserved.