| Package | Description |
|---|---|
| com.jamonapi |
This package contains classes and interfaces used to monitor Java applications.
|
| 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 |
Monitor.getMonKey() |
MonKey |
JAMonDetailValue.getMonKey() |
MonKey |
MonitorComposite.getMonKey() |
| Modifier and Type | Method and Description |
|---|---|
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 |
MonitorFactoryInterface.add(MonKey key,
double value)
Used when you want to create your own key for the monitor.
|
Monitor |
FactoryDisabled.add(MonKey key,
double value) |
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.
|
static boolean |
MonitorFactory.exists(MonKey key)
Return true if the monitor associated with the passed in key exists
|
boolean |
FactoryEnabled.exists(MonKey key) |
boolean |
MonitorFactoryInterface.exists(MonKey key)
Return true if the monitor associated with the passed in key exists
|
boolean |
FactoryDisabled.exists(MonKey key) |
Monitor |
MonitorComposite.getMonitor(MonKey key) |
static Monitor |
MonitorFactory.getMonitor(MonKey key)
Get the monitor associated with the passed in key.
|
Monitor |
FactoryEnabled.getMonitor(MonKey key) |
Monitor |
MonitorFactoryInterface.getMonitor(MonKey key)
Get the monitor associated with the passed in key.
|
Monitor |
FactoryDisabled.getMonitor(MonKey key) |
static Monitor |
MonitorFactory.getTimeMonitor(MonKey key)
Get the time monitor associated with the passed in key.
|
Monitor |
FactoryEnabled.getTimeMonitor(MonKey key) |
Monitor |
MonitorFactoryInterface.getTimeMonitor(MonKey key)
Get the time monitor associated with the passed in key.
|
Monitor |
FactoryDisabled.getTimeMonitor(MonKey key) |
static void |
MonitorFactory.remove(MonKey key)
Remove the monitor associated with the passed in key
|
void |
FactoryEnabled.remove(MonKey key) |
void |
MonitorFactoryInterface.remove(MonKey key)
Remove the monitor associated with the passed in key
|
void |
FactoryDisabled.remove(MonKey key) |
static Monitor |
MonitorFactory.start(MonKey key)
Start using the passed in key.
|
Monitor |
FactoryEnabled.start(MonKey key) |
Monitor |
MonitorFactoryInterface.start(MonKey key)
Start using the passed in key.
|
Monitor |
FactoryDisabled.start(MonKey key) |
static Monitor |
MonitorFactory.startNano(MonKey key)
Provide your own key to a nanosecond timer
|
Monitor |
FactoryEnabled.startNano(MonKey key) |
Monitor |
MonitorFactoryInterface.startNano(MonKey key)
Provide your own key to a nanosecond timer
|
Monitor |
FactoryDisabled.startNano(MonKey key) |
static Monitor |
MonitorFactory.startPrimary(MonKey key)
Start a monitor with the specified key and mark it as primary
|
Monitor |
FactoryEnabled.startPrimary(MonKey key) |
Monitor |
MonitorFactoryInterface.startPrimary(MonKey key)
Start a monitor with the specified key and mark it as primary
|
Monitor |
FactoryDisabled.startPrimary(MonKey key) |
| Constructor and Description |
|---|
JAMonDetailValue(MonKey key,
double value,
double active,
long time) |
Copyright © 2020. All rights reserved.