Package | Description |
---|---|
org.javasimon |
Core package, contains
Simon implementations, with
the SimonManager as the center point of the API. |
org.javasimon.callback | |
org.javasimon.jmx |
JMX capabilities for Simons.
|
org.javasimon.utils |
Java Simon supporting utilities and tools.
|
Modifier and Type | Method and Description |
---|---|
Counter |
Counter.decrease()
Decrements the counter by one.
|
Counter |
Counter.decrease(long dec)
Increments the counter by the specified value.
|
Counter |
SwitchingManager.getCounter(String name) |
static Counter |
SimonManager.getCounter(String name)
Returns existing Counter or creates new if necessary.
|
Counter |
Manager.getCounter(String name)
Returns existing Counter or creates new if necessary.
|
Counter |
EnabledManager.getCounter(String name) |
Counter |
DisabledManager.getCounter(String name)
Returns "Null Counter" that always returns empty/null values and cannot measure anything.
|
Counter |
Counter.increase()
Increments the counter by one.
|
Counter |
Counter.increase(long inc)
Increments the counter by the specified value.
|
Counter |
Counter.set(long val)
Sets the value of the counter to specified value.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeFilterCallback.onCounterDecrease(Counter counter,
long dec,
CounterSample sample) |
void |
CompositeCallbackImpl.onCounterDecrease(Counter counter,
long dec,
CounterSample sample) |
void |
CallbackSkeleton.onCounterDecrease(Counter counter,
long dec,
CounterSample sample) |
void |
Callback.onCounterDecrease(Counter counter,
long dec,
CounterSample sample)
Counter decrease event.
|
void |
CompositeFilterCallback.onCounterIncrease(Counter counter,
long inc,
CounterSample sample) |
void |
CompositeCallbackImpl.onCounterIncrease(Counter counter,
long inc,
CounterSample sample) |
void |
CallbackSkeleton.onCounterIncrease(Counter counter,
long inc,
CounterSample sample) |
void |
Callback.onCounterIncrease(Counter counter,
long inc,
CounterSample sample)
Counter increase event.
|
void |
CompositeFilterCallback.onCounterSet(Counter counter,
long val,
CounterSample sample) |
void |
CompositeCallbackImpl.onCounterSet(Counter counter,
long val,
CounterSample sample) |
void |
CallbackSkeleton.onCounterSet(Counter counter,
long val,
CounterSample sample) |
void |
Callback.onCounterSet(Counter counter,
long val,
CounterSample sample)
Counter set event.
|
Modifier and Type | Field and Description |
---|---|
protected Counter |
CounterMXBeanImpl.counter
Wrapped
Counter instance - protected for subclasses. |
Constructor and Description |
---|
CounterMXBeanImpl(Counter counter)
Creates the MX bean for the provided Counter.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemDebugCallback.onCounterDecrease(Counter counter,
long dec,
CounterSample sample) |
void |
SystemDebugCallback.onCounterIncrease(Counter counter,
long inc,
CounterSample sample) |
void |
SystemDebugCallback.onCounterSet(Counter counter,
long val,
CounterSample sample) |
Copyright © 2019. All rights reserved.