| Package | Description |
|---|---|
| net.obvj.performetrics | |
| net.obvj.performetrics.callable | |
| net.obvj.performetrics.runnable |
| Modifier and Type | Field and Description |
|---|---|
protected static Counter.Type[] |
MultiCounterMonitorableOperation.NO_SPECIFIC_TYPE |
| Modifier and Type | Method and Description |
|---|---|
Counter.Type |
Counter.getType() |
static Counter.Type |
Counter.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Counter.Type[] |
Counter.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Stopwatch |
Stopwatch.createStarted(Counter.Type... types)
Provides a started stopwatch for convenience with specific counter types
|
Counter |
MultiCounterMonitorableOperation.getCounter(Counter.Type type) |
Counter |
Stopwatch.getCounter(Counter.Type type) |
| Constructor and Description |
|---|
Counter(Counter.Type type)
Builds this Counter object with default time unit of nanoseconds.
|
Counter(Counter.Type type,
TimeUnit timeUnit)
Builds this Counter object with the given type and time unit.
|
MultiCounterMonitorableOperation(Counter.Type... types)
Builds this operation with the specified types, which will be maintained using default
time unit.
|
SimpleMonitorableOperation(Counter.Type type,
TimeUnit timeUnit)
Builds this operation with a new counter of the specified type and time unit.
|
Stopwatch(Counter.Type... types)
Creates a new stopwatch with specific counter types
|
| Constructor and Description |
|---|
MultiCounterCallableOperation(Callable<V> targetCallable,
Counter.Type... types)
Builds this monitorable operation with a given
Callable and specific counter type(s). |
| Constructor and Description |
|---|
MultiCounterRunnableOperation(Runnable targetRunnable,
Counter.Type... types)
Builds this monitorable operation with a given
Runnable and specific counter type(s). |
Copyright © 2019. All rights reserved.