public interface FrequencyDist
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE |
static String |
AVG |
static String |
AVGACTIVE |
static String |
FIRSTACCESS |
static String |
HITS |
static String |
LASTACCESS |
static String |
LASTVALUE |
static String |
MAX |
static String |
MAXACTIVE |
static String |
MIN |
static String |
STDDEV |
static String |
TOTAL |
static String |
VALUE
Used in call to addListener(...).
|
Modifier and Type | Method and Description |
---|---|
Monitor |
add(double value)
This method adds a value to the monitor (and aggegates statistics on it)
|
void |
addListener(String listenerTypeName,
JAMonListener listener)
Introduced as a way to add listeners that allows for lazy initialization saving a fair amount of memory.
|
void |
disable()
Disable the monitor.
|
void |
enable()
enable the monitor.
|
double |
getActive() |
double |
getAvg() |
double |
getAvgActive() |
double |
getEndValue()
Get the end value of the FrequencyDist.
|
Date |
getFirstAccess() |
double |
getHits() |
JAMonDetailValue |
getJAMonDetailRow() |
Date |
getLastAccess() |
double |
getLastValue() |
ListenerType |
getListenerType(String listenerType) |
double |
getMax() |
double |
getMaxActive() |
double |
getMin() |
MonKey |
getMonKey()
Return the label associated with this monitor.
|
Range |
getRange()
Return the Range object associated with this monitor.
|
double |
getStdDev() |
double |
getTotal() |
Object |
getValue(String key)
Returns any object that has a named key.
|
boolean |
hasListener(String listenerTypeName,
String listenerName)
Pass in a listenertype like 'max', 'min', 'value' and the listener name and true will be returned if the listener exists
|
boolean |
hasListeners() |
boolean |
hasListeners(String listenerTypeName)
Returns true if this listenertype ('max', 'min', 'value', 'maxactive') has any listeners at all
|
boolean |
isActivityTracking() |
boolean |
isEnabled()
Is the monitor enabled.
|
boolean |
isPrimary() |
void |
removeListener(String listenerTypeName,
String listenerName) |
void |
reset()
reset all values in the monitor to their defaults
|
void |
setActive(double value) |
void |
setActivityTracking(boolean trackActivity) |
void |
setFirstAccess(Date date) |
void |
setHits(double value) |
void |
setLastAccess(Date date) |
void |
setLastValue(double value) |
void |
setMax(double value) |
void |
setMaxActive(double value) |
void |
setMin(double value) |
void |
setPrimary(boolean isPrimary)
Indicate that this a primary Monitor.
|
void |
setTotal(double value) |
void |
setTotalActive(double value) |
Monitor |
skip()
Works simililarly to stop except the stats are not recorded.
|
Monitor |
start()
Start a monitor.
|
Monitor |
stop()
Stop a monitor.
|
static final String VALUE
static final String LASTVALUE
static final String MAX
static final String MIN
static final String MAXACTIVE
static final String TOTAL
static final String AVG
static final String HITS
static final String STDDEV
static final String FIRSTACCESS
static final String LASTACCESS
static final String ACTIVE
static final String AVGACTIVE
double getEndValue()
double getTotal()
void setTotal(double value)
double getAvg()
double getMin()
void setMin(double value)
double getMax()
void setMax(double value)
double getHits()
void setHits(double value)
double getStdDev()
void setFirstAccess(Date date)
Date getFirstAccess()
void setLastAccess(Date date)
Date getLastAccess()
double getLastValue()
void setLastValue(double value)
Object getValue(String key)
Monitor start()
Monitor stop()
Monitor skip()
Monitor add(double value)
void reset()
void enable()
void disable()
boolean isEnabled()
Range getRange()
MonKey getMonKey()
double getActive()
void setActive(double value)
double getMaxActive()
void setMaxActive(double value)
void setTotalActive(double value)
double getAvgActive()
boolean isPrimary()
void setPrimary(boolean isPrimary)
ListenerType getListenerType(String listenerType)
boolean hasListeners(String listenerTypeName)
listenerTypeName
- void addListener(String listenerTypeName, JAMonListener listener)
boolean hasListener(String listenerTypeName, String listenerName)
boolean hasListeners()
void setActivityTracking(boolean trackActivity)
boolean isActivityTracking()
JAMonDetailValue getJAMonDetailRow()
Copyright © 2015. All rights reserved.