Skip navigation links
A B C D E G L M N P R S T V W 

A

after() - Method in class net.obvj.performetrics.Counter
Set the units after with this counter's default data fetch strategy

B

before() - Method in class net.obvj.performetrics.Counter
Set the units before with this counter's default data fetch strategy

C

call() - Method in class net.obvj.performetrics.callable.CpuTimeCallableOperation
call() - Method in class net.obvj.performetrics.callable.MultiCounterCallableOperation
call() - Method in class net.obvj.performetrics.callable.WallClockTimeCallableOperation
Counter - Class in net.obvj.performetrics
An object containing units before and units after for a particular unit type
Counter(Counter.Type) - Constructor for class net.obvj.performetrics.Counter
Builds this Counter object with default time unit of nanoseconds.
Counter(Counter.Type, TimeUnit) - Constructor for class net.obvj.performetrics.Counter
Builds this Counter object with the given type and time unit.
counter - Variable in class net.obvj.performetrics.SimpleMonitorableOperation
 
Counter.Type - Enum in net.obvj.performetrics
An enumeration of all types of measurement supported
COUNTERS_TABLE_COLUMN_COUNTER - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 
COUNTERS_TABLE_COLUMN_ELAPSED_TIME - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 
COUNTERS_TABLE_COLUMN_TIME_UNIT - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 
COUNTERS_TABLE_HEADER - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 
COUNTERS_TABLE_ROW_FORMAT - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 
COUNTERS_TABLE_ROW_SEPARATOR - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 
CpuTimeCallableOperation<V> - Class in net.obvj.performetrics.callable
A Callable that maintains a CPU time counter for elapsed time evaluation The CPU time is stored in nanoseconds.
CpuTimeCallableOperation(Callable<V>) - Constructor for class net.obvj.performetrics.callable.CpuTimeCallableOperation
Builds this monitorable operation with a given Callable to be profiled using CPU time.
CpuTimeRunnableOperation - Class in net.obvj.performetrics.runnable
A Runnable that maintains a CPU time counter for elapsed time evaluation.
CpuTimeRunnableOperation(Runnable) - Constructor for class net.obvj.performetrics.runnable.CpuTimeRunnableOperation
Builds this monitorable operation with a given Runnable to be profiled using CPU time.
createStarted() - Static method in class net.obvj.performetrics.Stopwatch
Provides a started stopwatch for convenience with default counter types
createStarted(Counter.Type...) - Static method in class net.obvj.performetrics.Stopwatch
Provides a started stopwatch for convenience with specific counter types

D

DEFAULT_UNIT - Static variable in class net.obvj.performetrics.Counter
The default time unit to be stored (nanoseconds) if no specific time unit informed
defaultDataFetchStrategy(TimeUnit) - Method in enum net.obvj.performetrics.Counter.Type
Executes default data fetch strategy for the specific type.

E

elapsedTime() - Method in class net.obvj.performetrics.Counter
 
elapsedTime(TimeUnit) - Method in class net.obvj.performetrics.Counter
Returns the elapsed time, in a given TimeUnit.
elapsedTime(TimeUnit) - Method in class net.obvj.performetrics.SimpleMonitorableOperation
Returns the elapsed time, in a given TimeUnit.

G

getAllCounters() - Method in class net.obvj.performetrics.Stopwatch
 
getCounter(Counter.Type) - Method in class net.obvj.performetrics.MultiCounterMonitorableOperation
 
getCounter() - Method in class net.obvj.performetrics.SimpleMonitorableOperation
 
getCounter(Counter.Type) - Method in class net.obvj.performetrics.Stopwatch
 
getCounters() - Method in class net.obvj.performetrics.MultiCounterMonitorableOperation
 
getCpuTimeNanos() - Static method in class net.obvj.performetrics.util.PerformetricsUtils
Returns the total time spent using a CPU for the current thread in nanoseconds.
getDefaultTimeUnit() - Method in class net.obvj.performetrics.Counter
 
getSystemTimeNanos() - Static method in class net.obvj.performetrics.util.PerformetricsUtils
Returns system time (the time spent running OS kernel code on behalf of your application) in nanoseconds, by calculating the difference between CPU time and user time for the current thread.
getType() - Method in class net.obvj.performetrics.Counter
 
getUnitsAfter() - Method in class net.obvj.performetrics.Counter
 
getUnitsBefore() - Method in class net.obvj.performetrics.Counter
 
getUserTimeNanos() - Static method in class net.obvj.performetrics.util.PerformetricsUtils
Returns the CPU time that the current thread has executed in user mode in nanoseconds (i.e., the time spent running current thread's own code).
getWallClockTimeMillis() - Static method in class net.obvj.performetrics.util.PerformetricsUtils
Returns the current time in milliseconds.
getWallClockTimeNanos() - Static method in class net.obvj.performetrics.util.PerformetricsUtils
Returns the current value of the current Java Virtual Machine's high-resolution time source in nanoseconds.

L

LINE_SEPARATOR - Static variable in class net.obvj.performetrics.util.printer.PrintUtils
 

M

MultiCounterCallableOperation<V> - Class in net.obvj.performetrics.callable
A thread-safe Callable that maintains custom counters for elapsed time evaluation.
MultiCounterCallableOperation(Callable<V>) - Constructor for class net.obvj.performetrics.callable.MultiCounterCallableOperation
Builds this monitorable operation with a given Callable.
MultiCounterCallableOperation(Callable<V>, Counter.Type...) - Constructor for class net.obvj.performetrics.callable.MultiCounterCallableOperation
Builds this monitorable operation with a given Callable and specific counter type(s).
MultiCounterMonitorableOperation - Class in net.obvj.performetrics
A base object for monitorable operations that require more than one counter.
MultiCounterMonitorableOperation(Counter.Type...) - Constructor for class net.obvj.performetrics.MultiCounterMonitorableOperation
Builds this operation with the specified types, which will be maintained using default time unit.
MultiCounterRunnableOperation - Class in net.obvj.performetrics.runnable
A thread-safe Runnable that maintains custom counters for elapsed time evaluation.
MultiCounterRunnableOperation(Runnable) - Constructor for class net.obvj.performetrics.runnable.MultiCounterRunnableOperation
Builds this monitorable operation with a given Runnable.
MultiCounterRunnableOperation(Runnable, Counter.Type...) - Constructor for class net.obvj.performetrics.runnable.MultiCounterRunnableOperation
Builds this monitorable operation with a given Runnable and specific counter type(s).

N

net.obvj.performetrics - package net.obvj.performetrics
 
net.obvj.performetrics.callable - package net.obvj.performetrics.callable
 
net.obvj.performetrics.runnable - package net.obvj.performetrics.runnable
 
net.obvj.performetrics.util - package net.obvj.performetrics.util
 
net.obvj.performetrics.util.printer - package net.obvj.performetrics.util.printer
 
NO_SPECIFIC_TYPE - Static variable in class net.obvj.performetrics.MultiCounterMonitorableOperation
 

P

PerformetricsUtils - Class in net.obvj.performetrics.util
A utility class for retrieving system data.
printCounters(Collection<Counter>, PrintStream) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Prints the statistics for the given counters in the specified print stream.
printCounters(Collection<Counter>, PrintStream, TimeUnit) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Prints the statistics for the given counters in the specified print stream.
printStatistics(PrintStream) - Method in class net.obvj.performetrics.MultiCounterMonitorableOperation
Prints operation statistics in the specified print stream.
printStatistics(PrintStream, TimeUnit) - Method in class net.obvj.performetrics.MultiCounterMonitorableOperation
Prints operation statistics in the specified print stream, with a custom time unit.
printStatistics(PrintStream) - Method in class net.obvj.performetrics.Stopwatch
Prints stopwatch statistics in the specified print stream.
printStatistics(PrintStream, TimeUnit) - Method in class net.obvj.performetrics.Stopwatch
Prints stopwatch statistics in the specified print stream, with a custom time unit.
printStopwatch(Stopwatch, PrintStream) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Prints the statistics for the given stopwatch in the specified print stream.
printStopwatch(Stopwatch, PrintStream, TimeUnit) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Prints the statistics for the given stopwatch in the specified print stream.
PrintUtils - Class in net.obvj.performetrics.util.printer
This class groups all custom printing operations in a single place.

R

reset() - Method in class net.obvj.performetrics.Stopwatch
Resets all counters for this stopwatch
run() - Method in class net.obvj.performetrics.runnable.CpuTimeRunnableOperation
run() - Method in class net.obvj.performetrics.runnable.MultiCounterRunnableOperation
run() - Method in class net.obvj.performetrics.runnable.WallClockTimeRunnableOperation

S

setUnitsAfter(long) - Method in class net.obvj.performetrics.Counter
 
setUnitsBefore(long) - Method in class net.obvj.performetrics.Counter
 
SimpleMonitorableOperation - Class in net.obvj.performetrics
A base object for monitorable operations profiled with a single counter.
SimpleMonitorableOperation(Counter.Type, TimeUnit) - Constructor for class net.obvj.performetrics.SimpleMonitorableOperation
Builds this operation with a new counter of the specified type and time unit.
start() - Method in class net.obvj.performetrics.Stopwatch
Starts the stopwatch
stop() - Method in class net.obvj.performetrics.Stopwatch
Stops the stopwatch
stopwatch - Variable in class net.obvj.performetrics.MultiCounterMonitorableOperation
 
Stopwatch - Class in net.obvj.performetrics
A convenient object for timings that support multiple counter types This class is not thread-safe.
Stopwatch() - Constructor for class net.obvj.performetrics.Stopwatch
Creates a new stopwatch with default counter types
Stopwatch(Counter.Type...) - Constructor for class net.obvj.performetrics.Stopwatch
Creates a new stopwatch with specific counter types
STRING_FORMAT - Static variable in class net.obvj.performetrics.Counter
 

T

toRowFormat(Counter) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Returns a row with the given counter.
toRowFormat(Counter, TimeUnit) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Returns a row with the given counter.
toString() - Method in class net.obvj.performetrics.Counter
 
toString() - Method in enum net.obvj.performetrics.Counter.Type
 
toTableFormat(Collection<Counter>) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Returns a table with counters and elapsed times
toTableFormat(Collection<Counter>, TimeUnit) - Static method in class net.obvj.performetrics.util.printer.PrintUtils
Returns a table with counters and elapsed times in a given time unit.

V

valueOf(String) - Static method in enum net.obvj.performetrics.Counter.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.obvj.performetrics.Counter.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WallClockTimeCallableOperation<V> - Class in net.obvj.performetrics.callable
A Callable that maintains a wall-clock time counter for elapsed time evaluation The wall-clock time is stored in milliseconds.
WallClockTimeCallableOperation(Callable<V>) - Constructor for class net.obvj.performetrics.callable.WallClockTimeCallableOperation
Builds this monitorable operation with a given Callable to be profiled using wall-clock time.
WallClockTimeRunnableOperation - Class in net.obvj.performetrics.runnable
A Runnable that maintains a wall-clock time counter for elapsed time evaluation The wall-clock time is stored in milliseconds.
WallClockTimeRunnableOperation(Runnable) - Constructor for class net.obvj.performetrics.runnable.WallClockTimeRunnableOperation
Builds this monitorable operation with a given Runnable to be profiled using wall-clock time.
A B C D E G L M N P R S T V W 
Skip navigation links

Copyright © 2019. All rights reserved.