Package | Description |
---|---|
org.javasimon |
Core package, contains
Simon implementations, with
the SimonManager as the center point of the API. |
org.javasimon.callback | |
org.javasimon.callback.calltree |
CallTreeCallback gathers information
for current thread and displays it subsequent calls like a tree. |
org.javasimon.callback.lastsplits |
LastSplitsCallback retains last
splits in a ring a buffer (fixed size FIFO queue). |
org.javasimon.callback.logging |
LoggingCallback is able to log stopwatch splits and statistics once
in a while (N per millisecond, every N split, when split is longer than N ms, etc.)
and to various outputs (SLF4J, JUL). |
org.javasimon.callback.quantiles |
QuantilesCallback sorts splits to categories
(Bucket s) based on time ranges. |
org.javasimon.callback.timeline | |
org.javasimon.jmx |
JMX capabilities for Simons.
|
org.javasimon.utils |
Java Simon supporting utilities and tools.
|
Modifier and Type | Method and Description |
---|---|
StopwatchSample |
Stopwatch.sample() |
StopwatchSample |
Stopwatch.sampleIncrement(Object key) |
StopwatchSample |
Stopwatch.sampleIncrementNoReset(Object key) |
Modifier and Type | Method and Description |
---|---|
void |
CompositeFilterCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample) |
void |
CompositeCallbackImpl.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample) |
void |
CallbackSkeleton.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample) |
void |
Callback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample)
Stopwatch add split event.
|
void |
CompositeFilterCallback.onStopwatchStop(Split split,
StopwatchSample sample) |
void |
CompositeCallbackImpl.onStopwatchStop(Split split,
StopwatchSample sample) |
void |
CallbackSkeleton.onStopwatchStop(Split split,
StopwatchSample sample) |
void |
Callback.onStopwatchStop(Split split,
StopwatchSample sample)
Stopwatch stop event.
|
Modifier and Type | Method and Description |
---|---|
void |
CallTreeCallback.onStopwatchStop(Split split,
StopwatchSample sample) |
Modifier and Type | Method and Description |
---|---|
void |
LastSplitsCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample) |
void |
LastSplitsCallback.onStopwatchStop(Split split,
StopwatchSample sample)
When a Splits is stopped, it is added to the stopwatch a Last Splits attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggingCallback.onStopwatchStop(Split split,
StopwatchSample sample)
Stopwatch stop event.
|
Modifier and Type | Method and Description |
---|---|
void |
QuantilesCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample)
When a split is added, if buckets have been initialized, the value is added to appropriate bucket.
|
void |
QuantilesCallback.onStopwatchStop(Split split,
StopwatchSample sample)
When a split is stopped, if buckets have been initialized, the value
is added to appropriate bucket.
|
Modifier and Type | Method and Description |
---|---|
void |
TimelineCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample) |
void |
TimelineCallback.onStopwatchStop(Split split,
StopwatchSample sample) |
Modifier and Type | Class and Description |
---|---|
class |
StopwatchSample
Value object for retrieving data from Stopwatch Simon.
|
Modifier and Type | Method and Description |
---|---|
StopwatchSample |
SimonManagerMXBean.getStopwatchSample(String name)
Retrieves sample data object for a particular Stopwatch.
|
Constructor and Description |
---|
StopwatchSample(StopwatchSample sample)
Framework constructor for Simon MBean implementation to initialize all properties
by sample obtained from Simon.
|
Modifier and Type | Method and Description |
---|---|
static StopwatchSample[] |
BenchmarkUtils.run(int warmupRuns,
int measuredRuns,
BenchmarkUtils.Task... tasks)
Runs the list of tasks to be benchmarked and returns
StopwatchSample array with measured results. |
Modifier and Type | Method and Description |
---|---|
static String |
GoogleChartImageGenerator.barChart(StopwatchSample... samples)
Generates Google bar chart URL for the provided samples showing mean values in milliseconds with default title.
|
static String |
GoogleInteractiveChartGenerator.barChart(StopwatchSample[] samples,
String title,
double divisor,
String unit)
Generates Google bar chart HTML5 source code for the provided samples.
|
static String |
GoogleChartImageGenerator.barChart(String title,
SimonUnit unit,
boolean showMaxMin,
StopwatchSample... samples)
Generates Google bar chart URL for the provided samples.
|
static String |
GoogleChartImageGenerator.barChart(String title,
SimonUnit unit,
StopwatchSample... samples)
Generates Google bar chart URL for the provided samples showing only mean values.
|
static String |
GoogleChartImageGenerator.barChart(String title,
StopwatchSample... samples)
Generates Google bar chart URL for the provided samples showing mean values in milliseconds.
|
void |
SystemDebugCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample) |
void |
SystemDebugCallback.onStopwatchStop(Split split,
StopwatchSample sample) |
void |
SLF4JLoggingCallback.onStopwatchStop(Split split,
StopwatchSample sample)
Logs Simon stop on a specified log marker.
|
void |
LoggingCallback.onStopwatchStop(Split split,
StopwatchSample sample)
Logs Simon stop on a specified log level.
|
Copyright © 2019. All rights reserved.