Package | Description |
---|---|
com.jamonapi |
This package contains classes and interfaces used to monitor Java applications.
|
com.jamonapi.log4j |
Modifier and Type | Class and Description |
---|---|
class |
MonKeyBase
Class that can be used as a composite key for MonitorFactor.add(compositeKey, 100) method calls
Note the passed in LinkedHashMap is used as a key to another Map that looks up the associated monitor.
|
class |
MonKeyImp
A key implmentation for label, and units type monitors.
|
Modifier and Type | Method and Description |
---|---|
MonKey |
MonitorComposite.getMonKey() |
MonKey |
Monitor.getMonKey() |
Modifier and Type | Method and Description |
---|---|
Monitor |
MonitorFactoryInterface.add(MonKey key,
double value)
Used when you want to create your own key for the monitor.
|
static Monitor |
MonitorFactory.add(MonKey key,
double value)
Used when you want to create your own key for the monitor.
|
Monitor |
FactoryEnabled.add(MonKey key,
double value) |
Monitor |
FactoryDisabled.add(MonKey key,
double value) |
boolean |
MonitorFactoryInterface.exists(MonKey key)
Return true if the monitor associated with the passed in key exists
|
static boolean |
MonitorFactory.exists(MonKey key)
Return true if the monitor associated with the passed in key exists
|
boolean |
MonitorComposite.exists(MonKey key)
Note this works with Local, however when it is put into the map by combining multiple MonitorComposites that have
the same key (for example on different instances) it does not currently work.
|
boolean |
FactoryEnabled.exists(MonKey key) |
boolean |
FactoryDisabled.exists(MonKey key) |
Monitor |
MonitorFactoryInterface.getMonitor(MonKey key)
Get the monitor associated with the passed in key.
|
static Monitor |
MonitorFactory.getMonitor(MonKey key)
Get the monitor associated with the passed in key.
|
Monitor |
MonitorComposite.getMonitor(MonKey key) |
Monitor |
FactoryEnabled.getMonitor(MonKey key) |
Monitor |
FactoryDisabled.getMonitor(MonKey key) |
Monitor |
MonitorFactoryInterface.getTimeMonitor(MonKey key)
Get the time monitor associated with the passed in key.
|
static Monitor |
MonitorFactory.getTimeMonitor(MonKey key)
Get the time monitor associated with the passed in key.
|
Monitor |
FactoryEnabled.getTimeMonitor(MonKey key) |
Monitor |
FactoryDisabled.getTimeMonitor(MonKey key) |
void |
MonitorFactoryInterface.remove(MonKey key)
Remove the monitor associated with the passed in key
|
static void |
MonitorFactory.remove(MonKey key)
Remove the monitor associated with the passed in key
|
void |
FactoryEnabled.remove(MonKey key) |
void |
FactoryDisabled.remove(MonKey key) |
Monitor |
MonitorFactoryInterface.start(MonKey key)
Start using the passed in key.
|
static Monitor |
MonitorFactory.start(MonKey key)
Start using the passed in key.
|
Monitor |
FactoryEnabled.start(MonKey key) |
Monitor |
FactoryDisabled.start(MonKey key) |
Monitor |
MonitorFactoryInterface.startNano(MonKey key)
Provide your own key to a nanosecond timer
|
static Monitor |
MonitorFactory.startNano(MonKey key)
Provide your own key to a nanosecond timer
|
Monitor |
FactoryEnabled.startNano(MonKey key) |
Monitor |
FactoryDisabled.startNano(MonKey key) |
Monitor |
MonitorFactoryInterface.startPrimary(MonKey key)
Start a monitor with the specified key and mark it as primary
|
static Monitor |
MonitorFactory.startPrimary(MonKey key)
Start a monitor with the specified key and mark it as primary
|
Monitor |
FactoryEnabled.startPrimary(MonKey key) |
Monitor |
FactoryDisabled.startPrimary(MonKey key) |
Constructor and Description |
---|
JAMonDetailValue(MonKey key,
double value,
double active,
long time) |
Modifier and Type | Class and Description |
---|---|
class |
Log4jMonKey
MonKey used to put log4j records into jamon hashmap.
|
Copyright © 2015. All rights reserved.