|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Split | |
|---|---|
| org.javasimon | Core package, contains Simon implementations, with
the SimonManager as the center point of the API. |
| org.javasimon.callback | Callback is an event listener registered with the Manager,
listening for manager or Simon events. |
| 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.) |
| org.javasimon.callback.quantiles | QuantilesCallback sorts splits to categories
(Buckets) based on time ranges. |
| org.javasimon.callback.timeline | |
| org.javasimon.source | MonitorSource is the interface used as function to transform execution context (method invocation,
HTTP request...) into a Simon. |
| org.javasimon.utils | Java Simon supporting utilities and tools. |
| Uses of Split in org.javasimon |
|---|
| Fields in org.javasimon declared as Split | |
|---|---|
static Split |
Split.DISABLED
Disabled split (implies not running) for cases where monitoring is disabled and null value is not an option. |
private static Split |
NullStopwatch.NULL_SPLIT
|
| Methods in org.javasimon that return Split | |
|---|---|
Split |
StopwatchImpl.start()
|
Split |
Stopwatch.start()
Starts the new split for this stopwatch. |
static Split |
Split.start()
Creates a new Split for direct use without Stopwatch ("anonymous split"). |
Split |
NullStopwatch.start()
|
Split |
Split.stop()
Stops the split, updates the stopwatch and returns this. |
Split |
Split.stop(String subSimon)
Stops the split, updates the sub-stopwatch specified by parameter and returns this. |
| Methods in org.javasimon with parameters of type Split | |
|---|---|
Stopwatch |
StopwatchImpl.addSplit(Split split)
|
Stopwatch |
Stopwatch.addSplit(Split split)
Adds Split to the stopwatch which is useful for aggregation of splits created for other stopwatch. |
Stopwatch |
NullStopwatch.addSplit(Split split)
|
(package private) void |
StopwatchImpl.stop(Split split,
long start,
long nowNanos,
String subSimon)
Protected method doing the stop work based on provided start nano-time. |
| Uses of Split in org.javasimon.callback |
|---|
| Methods in org.javasimon.callback with parameters of type Split | |
|---|---|
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.onStopwatchStart(Split split)
|
void |
CompositeCallbackImpl.onStopwatchStart(Split split)
|
void |
CallbackSkeleton.onStopwatchStart(Split split)
|
void |
Callback.onStopwatchStart(Split split)
Stopwatch start 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. |
| Uses of Split in org.javasimon.callback.calltree |
|---|
| Fields in org.javasimon.callback.calltree with type parameters of type Split | |
|---|---|
private LogTemplate<Split> |
CallTreeCallback.callTreeLogTemplate
Log template used for printing call tree. |
private List<Split> |
CallTreeNode.splits
Splits. |
| Methods in org.javasimon.callback.calltree with parameters of type Split | |
|---|---|
void |
CallTreeNode.addSplit(Split split)
Adds a split to the current tree node. |
String |
CallTree.getLogMessage(Split context)
Transforms this call tree into a loggable message. |
void |
CallTree.onRootStopwatchStart(CallTreeNode rootNode,
Split split)
When stopwatch is started, and the root tree node is pushed into the call stack, this method is called. |
protected void |
CallTree.onRootStopwatchStop(CallTreeNode callTreeNode,
Split split)
When stopwatch is stopped, and root tree node is popped from call stack, this method is called. |
void |
CallTreeCallback.onRootStopwatchStop(CallTree callTree,
Split split)
When stopwatch corresponding to root tree node is stopped, this method is called. |
void |
CallTreeCallback.onStopwatchStart(Split split)
Stopwatch start event. |
CallTreeNode |
CallTree.onStopwatchStart(Split split)
When stopwatch is started, a new tree node is added to the parent tree node and pushed on the call stack. |
CallTreeNode |
CallTree.onStopwatchStop(Split split)
When stopwatch is stopped, the the split is added to current tree node and this tree node is popped from call stack. |
void |
CallTreeCallback.onStopwatchStop(Split split,
StopwatchSample sample)
Stopwatch stop event. |
| Constructor parameters in org.javasimon.callback.calltree with type arguments of type Split | |
|---|---|
CallTreeCallback(LogTemplate<Split> callTreeLogTemplate)
Constructor with log template. |
|
| Uses of Split in org.javasimon.callback.lastsplits |
|---|
| Fields in org.javasimon.callback.lastsplits with type parameters of type Split | |
|---|---|
private LogTemplate<Split> |
LastSplitsCallback.enabledStopwatchLogTemplate
SLF4J log template shared by all stopwatches. |
private LogTemplate<Split> |
LastSplits.logTemplate
Log template used to log this list of splits |
private CircularList<Split> |
LastSplits.splits
Ring buffer containing splits |
| Methods in org.javasimon.callback.lastsplits that return types with arguments of type Split | |
|---|---|
protected LogTemplate<Split> |
LastSplitsCallback.createLogTemplate(Stopwatch stopwatch)
Create log template for given stopwatch. |
LogTemplate<Split> |
LastSplits.getLogTemplate()
|
| Methods in org.javasimon.callback.lastsplits with parameters of type Split | |
|---|---|
void |
LastSplits.add(Split split)
Add split to the buffer |
void |
LastSplits.SplitFunction.evaluate(Split split)
Called for each split |
void |
LastSplits.AbstractSplitFunction.evaluate(Split split)
Calls evaluate with split running for duration |
String |
LastSplits.getLogMessage(Split lastSplit)
Transform this list of splits into a loggable message |
void |
LastSplits.log(Split lastSplit)
Log eventually this list of splits into log template |
void |
LastSplitsCallback.onStopwatchStop(Split split,
StopwatchSample sample)
When a Splits is stopped, it is added to the stopwatch a Last Splits attribute. |
| Method parameters in org.javasimon.callback.lastsplits with type arguments of type Split | |
|---|---|
void |
LastSplits.setLogTemplate(LogTemplate<Split> logTemplate)
|
| Uses of Split in org.javasimon.callback.logging |
|---|
| Fields in org.javasimon.callback.logging with type parameters of type Split | |
|---|---|
private LogMessageSource<Split> |
LoggingCallback.stopwatchLogMessageSource
Split to string converter. |
private LogTemplate<Split> |
LoggingCallback.stopwatchLogTemplate
Log template used for Stopwatch splits. |
| Methods in org.javasimon.callback.logging that return types with arguments of type Split | |
|---|---|
LogTemplate<Split> |
LoggingCallback.getStopwatchLogTemplate()
Get log template used for stopwatch splits. |
protected LogTemplate<Split> |
LoggingCallback.getStopwatchLogTemplate(Stopwatch stopwatch)
Get log template for stopwatch, defaults to LoggingCallback.stopwatchLogTemplate. |
| Methods in org.javasimon.callback.logging with parameters of type Split | |
|---|---|
boolean |
SplitThresholdLogTemplate.isEnabled(Split split)
|
void |
LoggingCallback.onStopwatchStop(Split split,
StopwatchSample sample)
Stopwatch stop event. |
| Method parameters in org.javasimon.callback.logging with type arguments of type Split | |
|---|---|
static SplitThresholdLogTemplate |
LogTemplates.whenSplitLongerThanMilliseconds(LogTemplate<Split> delegateLogger,
long threshold)
Produces a log template which logs something when stopwatch split is longer than threshold. |
static SplitThresholdLogTemplate |
LogTemplates.whenSplitLongerThanNanoseconds(LogTemplate<Split> delegateLogger,
long threshold)
Produces a log template which logs something when stopwatch split is longer than threshold. |
| Constructor parameters in org.javasimon.callback.logging with type arguments of type Split | |
|---|---|
LoggingCallback(LogTemplate<Split> stopwatchLogTemplate,
LogTemplate<String> managerLogTemplate)
Constructor wich can be used to customize log templates. |
|
| Uses of Split in org.javasimon.callback.quantiles |
|---|
| Fields in org.javasimon.callback.quantiles with type parameters of type Split | |
|---|---|
private LogTemplate<Split> |
QuantilesCallback.enabledStopwatchLogTemplate
SLF4J log template shared by all stopwatches. |
private LogTemplate<Split> |
Buckets.logTemplate
Log template used to log quantiles. |
| Methods in org.javasimon.callback.quantiles that return types with arguments of type Split | |
|---|---|
protected LogTemplate<Split> |
QuantilesCallback.createLogTemplate(Stopwatch stopwatch)
Create log template for given stopwatch. |
LogTemplate<Split> |
Buckets.getLogTemplate()
|
| Methods in org.javasimon.callback.quantiles with parameters of type Split | |
|---|---|
String |
Buckets.getLogMessage(Split lastSplit)
Transforms buckets and quantiles into a loggable message. |
void |
Buckets.log(Split lastSplit)
Logs eventually buckets config and quantiles. |
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. |
protected void |
QuantilesCallback.onStopwatchSplit(Stopwatch stopwatch,
Split split)
Called when there is a new split on a Stopwatch, either QuantilesCallback.onStopwatchStop(org.javasimon.Split, org.javasimon.StopwatchSample) or QuantilesCallback.onStopwatchAdd(org.javasimon.Stopwatch, org.javasimon.Split, org.javasimon.StopwatchSample). |
protected void |
AutoQuantilesCallback.onStopwatchSplit(Stopwatch stopwatch,
Split split)
Called when there is a new split on a Stopwatch, either QuantilesCallback.onStopwatchStop(org.javasimon.Split, org.javasimon.StopwatchSample) or QuantilesCallback.onStopwatchAdd(org.javasimon.Stopwatch, org.javasimon.Split, org.javasimon.StopwatchSample). |
void |
QuantilesCallback.onStopwatchStop(Split split,
StopwatchSample sample)
When a split is stopped, if buckets have been initialized, the value is added to appropriate bucket. |
| Method parameters in org.javasimon.callback.quantiles with type arguments of type Split | |
|---|---|
void |
Buckets.setLogTemplate(LogTemplate<Split> logTemplate)
|
| Uses of Split in org.javasimon.callback.timeline |
|---|
| Methods in org.javasimon.callback.timeline with parameters of type Split | |
|---|---|
void |
StopwatchTimeline.addSplit(Split split)
Main method used to insert the split on the timeline: Split start is used to determine in which timerange it should be split. |
void |
TimelineCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample)
|
void |
TimelineCallback.onStopwatchStop(Split split,
StopwatchSample sample)
|
| Uses of Split in org.javasimon.source |
|---|
| Methods in org.javasimon.source that return Split | |
|---|---|
Split |
StopwatchSource.start(L location)
Convenient method to return split for the location or disabled split, if the location is not monitored. |
Split |
DisabledStopwatchSource.start(L location)
|
Split |
CachedStopwatchSource.start(L location)
|
Split |
AbstractStopwatchSource.start(T location)
|
| Uses of Split in org.javasimon.utils |
|---|
| Methods in org.javasimon.utils with parameters of type Split | |
|---|---|
void |
SystemDebugCallback.onStopwatchAdd(Stopwatch stopwatch,
Split split,
StopwatchSample sample)
|
void |
SystemDebugCallback.onStopwatchStart(Split split)
|
void |
SLF4JLoggingCallback.onStopwatchStart(Split split)
Logs Simon start on a sprecified log marker. |
void |
LoggingCallback.onStopwatchStart(Split split)
Logs Simon start on a sprecified log level. |
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||