Uses of Interface
org.javasimon.Simon

Packages that use Simon
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.lastsplits LastSplitsCallback retains last splits in a ring a buffer (fixed size FIFO queue). 
org.javasimon.callback.quantiles QuantilesCallback sorts splits to categories (Buckets) based on time ranges. 
org.javasimon.callback.timeline   
org.javasimon.jmx JMX capabilities for Simons. 
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 Simon in org.javasimon
 

Subinterfaces of Simon in org.javasimon
 interface Counter
          Counter tracks the single integer value and watches its max/min values.
 interface Stopwatch
          Stopwatch Simon measures time spans and holds related statistics.
 

Classes in org.javasimon that implement Simon
(package private)  class AbstractSimon
          AbstractSimon implements basic enable/disable and hierarchy functionality.
(package private)  class CounterImpl
          Class implements Counter interface - see there for how to use Counter.
(package private)  class NullCounter
          Null Counter implements Simon returned by the disabled Manager.getCounter(String).
(package private)  class NullSimon
          Null Simon implements Simon returned by the disabled Manager.getSimon(String) or Manager.getRootSimon().
(package private)  class NullStopwatch
          Null Stopwatch implements Simon returned by the disabled Manager.getStopwatch(String).
(package private)  class StopwatchImpl
          Class implements Stopwatch interface - see there for how to use Stopwatch.
(package private)  class UnknownSimon
          UnknownSimon represents Simon node in the hierarchy without known type.
 

Fields in org.javasimon declared as Simon
private  Simon AbstractSimon.parent
           
 

Fields in org.javasimon with type parameters of type Simon
private  List<Simon> AbstractSimon.children
           
 

Methods in org.javasimon that return Simon
private  Simon EnabledManager.getOrCreateSimon(String name, Class<? extends AbstractSimon> simonClass)
           
 Simon Simon.getParent()
          Returns parent Simon.
 Simon NullSimon.getParent()
           
 Simon AbstractSimon.getParent()
           
 Simon SwitchingManager.getRootSimon()
           
static Simon SimonManager.getRootSimon()
          Returns root Simon.
 Simon Manager.getRootSimon()
          Returns root Simon.
 Simon EnabledManager.getRootSimon()
           
 Simon DisabledManager.getRootSimon()
          Returns "Null Simon" that always returns empty/null values and cannot measure anything.
 Simon SwitchingManager.getSimon(String name)
           
static Simon SimonManager.getSimon(String name)
          Returns Simon by its name if it exists.
 Simon Manager.getSimon(String name)
          Returns Simon by its name if it exists.
 Simon EnabledManager.getSimon(String name)
           
 Simon DisabledManager.getSimon(String name)
          Returns "Null Simon" that always returns empty/null values and cannot measure anything.
 Simon UnknownSimon.reset()
           
 Simon Simon.reset()
          Resets the Simon values related to the measuring, timestamps and so on - usage timestamps, state, attributes are not affected.
 

Methods in org.javasimon that return types with arguments of type Simon
 List<Simon> Simon.getChildren()
          Returns list of children - direct sub-simons.
 List<Simon> NullSimon.getChildren()
           
 List<Simon> AbstractSimon.getChildren()
           
 Collection<Simon> SwitchingManager.getSimons(SimonPattern pattern)
           
static Collection<Simon> SimonManager.getSimons(SimonPattern pattern)
          Returns collection containing all existing Simons matching the pattern (can be null).
 Collection<Simon> Manager.getSimons(SimonPattern pattern)
          Returns collection containing all existing Simons matching the pattern (can be null).
 Collection<Simon> EnabledManager.getSimons(SimonPattern pattern)
           
 Collection<Simon> DisabledManager.getSimons(SimonPattern pattern)
           
 

Methods in org.javasimon with parameters of type Simon
(package private)  void AbstractSimon.replaceChild(Simon simon, AbstractSimon newSimon)
          Replaces one of the children for a new one (unknown to concrete).
(package private)  void AbstractSimon.setParent(Simon parent)
          Sets parent for this Simon - used only internally.
 

Uses of Simon in org.javasimon.callback
 

Methods in org.javasimon.callback with parameters of type Simon
 boolean FilterRule.checkCondition(Simon simon, Object... params)
          Checks the Simon and optional parameters against the condition specified for a rule.
private  boolean CompositeFilterCallback.checkRules(Simon simon, Callback.Event event, Object... params)
           
 void CompositeFilterCallback.onSimonCreated(Simon simon)
           
 void CompositeCallbackImpl.onSimonCreated(Simon simon)
           
 void CallbackSkeleton.onSimonCreated(Simon simon)
           
 void Callback.onSimonCreated(Simon simon)
          Simon created event is called when Simon is successfully created by the Manager.
 void CompositeFilterCallback.onSimonDestroyed(Simon simon)
           
 void CompositeCallbackImpl.onSimonDestroyed(Simon simon)
           
 void CallbackSkeleton.onSimonDestroyed(Simon simon)
           
 void Callback.onSimonDestroyed(Simon simon)
          Simon destroyed event is called when Simon is successfully destroyed by the Manager.
 void CompositeFilterCallback.onSimonReset(Simon simon)
           
 void CompositeCallbackImpl.onSimonReset(Simon simon)
           
 void CallbackSkeleton.onSimonReset(Simon simon)
           
 void Callback.onSimonReset(Simon simon)
          Simon reset event.
private  boolean CompositeFilterCallback.patternAndConditionCheck(Simon simon, FilterRule rule, Object... params)
           
private  boolean CompositeFilterCallback.rulesApplyTo(Simon simon, Callback.Event checkedEvent, Object... params)
           
 

Uses of Simon in org.javasimon.callback.lastsplits
 

Methods in org.javasimon.callback.lastsplits with parameters of type Simon
 void LastSplitsCallback.onSimonCreated(Simon simon)
          When Stopwatch is created, a Last Splits attributes is added.
 void LastSplitsCallback.onSimonReset(Simon simon)
          When the Stopwatch is reseted, the Last splits attribute as well.
 

Uses of Simon in org.javasimon.callback.quantiles
 

Methods in org.javasimon.callback.quantiles with parameters of type Simon
 T PropertiesQuantilesCallback.PropertyType.get(Simon simon, String name)
           
private  String PropertiesQuantilesCallback.getProperty(Simon simon, String name)
          Get property for Simon
 void AutoQuantilesCallback.onSimonCreated(Simon simon)
          When simon is created, the list containing Split values is added to stopwatch attributes.
 void QuantilesCallback.onSimonReset(Simon simon)
          When the Stopwatch is reseted, so are the buckets.
 void AutoQuantilesCallback.onSimonReset(Simon simon)
          When the Stopwatch is reset, so are the buckets.
 

Uses of Simon in org.javasimon.callback.timeline
 

Methods in org.javasimon.callback.timeline with parameters of type Simon
private  Timeline TimelineCallback.getTimeline(Simon simon)
          Get timeline for given Simon
 void TimelineCallback.onSimonCreated(Simon simon)
          On simon creation a timeline attribute is added
 

Uses of Simon in org.javasimon.jmx
 

Methods in org.javasimon.jmx that return Simon
protected  Simon StopwatchMXBeanImpl.simon()
           
protected  Simon CounterMXBeanImpl.simon()
           
protected abstract  Simon AbstractSimonMXBeanImpl.simon()
          Returns the wrapped Simon.
 

Methods in org.javasimon.jmx with parameters of type Simon
protected  SimonSuperMXBean JmxRegisterCallback.constructObject(Simon simon)
          Constructs JMX object from Simon object.
protected  String JmxRegisterCallback.constructObjectName(Simon simon)
          Constructs JMX object name from Simon object.
 void JmxRegisterCallback.onSimonCreated(Simon simon)
          After Simon is created respective MX bean is registered for it according to its type.
 void JmxRegisterCallback.onSimonDestroyed(Simon simon)
          When the Simon is destroyed, its MX bean is unregistered.
protected  void JmxRegisterCallback.register(Simon simon)
          Method registering Simon MX Bean - can not be overridden, but can be used in subclasses.
private  CounterSample SimonManagerMXBeanImpl.sampleCounter(Simon s)
          Create a JMX Counter Sample from a Sample
private  StopwatchSample SimonManagerMXBeanImpl.sampleStopwatch(Simon s)
          Create a JMX Stopwatch Sample from a Stopwatch
protected  String JmxRegisterCallback.simonType(Simon simon)
          Returns type of the simon as defined in SimonInfo.COUNTER, SimonInfo.STOPWATCH or SimonInfo.UNKNOWN.
 

Uses of Simon in org.javasimon.source
 

Classes in org.javasimon.source with type parameters of type Simon
 class CachedMonitorSource<L,M extends Simon,K>
          Monitor source playing the role of cache for delegate monitor source.
 class DisabledMonitorSource<L,M extends Simon>
          Disabled monitor source.
 interface MonitorSource<L,M extends Simon>
          Monitor source provides monitors (Simons) for a specific name.
 

Methods in org.javasimon.source with type parameters of type Simon
static
<L,M extends Simon>
DisabledMonitorSource<L,M>
DisabledMonitorSource.get()
          Returns a singleton instance.
 

Methods in org.javasimon.source that return Simon
 Simon CachedMonitorSource.MonitorInformation.getMonitor(Manager manager)
           
 

Constructors in org.javasimon.source with parameters of type Simon
CachedMonitorSource.MonitorInformation(boolean monitored, Simon simon)
           
 

Uses of Simon in org.javasimon.utils
 

Methods in org.javasimon.utils with parameters of type Simon
 void SystemDebugCallback.onSimonCreated(Simon simon)
           
 void SystemDebugCallback.onSimonDestroyed(Simon simon)
           
 void SystemDebugCallback.onSimonReset(Simon simon)
           
private static void SimonUtils.printSimon(int level, Simon simon, StringBuilder sb)
           
private static void SimonUtils.printSimonTree(int level, Simon simon, StringBuilder sb)
           
static void SimonUtils.recursiveReset(Simon simon)
          Resets the whole Simon subtree - calls reset() on the Simon and recursively on all its children.
static String SimonUtils.simonTreeString(Simon simon)
          Returns multi-line string containing Simon tree starting with the specified Simon.
 



Copyright © 2013. All Rights Reserved.