| Package | Description |
|---|---|
| net.obvj.performetrics |
Provides convenient classes for extracting performance metrics of Java code.
|
| net.obvj.performetrics.monitors |
Provides classes that can monitor other ones.
|
| Modifier and Type | Method and Description |
|---|---|
static MonitoredOperation |
Performetrics.monitorOperation(Runnable runnable)
Runs the specified
Runnable, which can also be a lambda expression, and
collects metrics for all available counter types. |
static MonitoredOperation |
Performetrics.monitorOperation(Runnable runnable,
Counter.Type... types)
Runs the specified
Runnable, which can also be a lambda expression, and
collects metrics for the specified counter type(s) only. |
| Modifier and Type | Class and Description |
|---|---|
class |
MonitoredCallable<V>
A
Callable wrapper that maintains one or more counters for monitoring the time
spent by the Callable's call() method. |
class |
MonitoredRunnable
A
Runnable wrapper that maintains one or more counters for monitoring the time
spent by the Runnable's run() method. |
Copyright © 2022. All rights reserved.