|
Oracle Application Server DMS API Reference 10g Release 2 (10.1.2) B14002-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dms.instrument.Sensor
oracle.dms.instrument.Event
An Event
Sensor is used to measure information about instantaneous, point events (events with negligible duration). Programs call the occurred()
method each time the measured event occurs, and DMS computes a count value indicating the number of occurrences. An Event sensor contains a count
metric.
Field Summary |
Fields inherited from class oracle.dms.instrument.Sensor |
active, all, average, completed, count, exclTime, maxActive, maximum, minimum, sum, time, value |
Method Summary | |
static Event |
create(Noun parent, java.lang.String name, java.lang.String desc) Creates a new Event |
void |
deriveMetric(int metric) Derives additional metrics. |
void |
occurred() Signals to DMS that the Event occurred |
Methods inherited from class oracle.dms.instrument.Sensor |
destroy, get, getDescription, getName, getValue, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Event create(Noun parent, java.lang.String name, java.lang.String desc)
parent
- the parent Nounname
- the name of the Eventdesc
- the description of the Eventpublic void occurred()
public void deriveMetric(int metric)
deriveMetric
in class Sensor
metric
- bitmask of metrics to be derived.
Currently, no derivations are supported
|
Oracle Application Server DMS API Reference 10g Release 2 (10.1.2) B14002-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |