Monitor methods that are common
to all classes implementing the Monitor interface..
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected boolean | |
| protected Units | |
| protected Variability | |
| protected int |
| Access | Constructor and Description |
|---|---|
| protected | AbstractMonitor(String
the name to assign to this instrumentation object. name, Units the units of measure attribute units, Variability the variability attribute variability, boolean support level indicator supported, int the length of the vector, or 0 if not a vector type. vectorLength)Create a vector instrumentation monitoring object with the given name and attributes. |
| protected | AbstractMonitor(String
the name to assign to this instrumentation object. name, Units the units of measure attribute units, Variability the variability attribute variability, boolean support level indicator supported)Create a scalar instrumentation monitoring object with the given name and attributes. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getBaseName()
Implements sun. Returns the base name of this instrumentation object. |
| public String | getName()
Implements sun. Returns the name of this instrumentation object. |
| public Units | getUnits()
Implements sun. Returns the Units for this instrumentation monitoring object. |
| public abstract Object | getValue()
Redeclares sun. Return an Object that encapsulates this instrumentation object's current data value. |
| public Variability | getVariability()
Implements sun. Returns the Variability for this instrumentation object. |
| public int | getVectorLength()
Implements sun. Return the length of the vector. |
| public boolean | isSupported()
Implements sun. Test if the instrumentation object is supported. |
| public boolean | isVector()
Implements sun. Test if the instrumentation object is a vector type. |
| name | back to summary |
|---|---|
| protected String name | |
| supported | back to summary |
|---|---|
| protected boolean supported | |
| units | back to summary |
|---|---|
| protected Units units | |
| variability | back to summary |
|---|---|
| protected Variability variability | |
| vectorLength | back to summary |
|---|---|
| protected int vectorLength | |
| AbstractMonitor | back to summary |
|---|---|
| protected AbstractMonitor(String name, Units units, Variability variability, boolean supported, int vectorLength) Create a vector instrumentation monitoring object with the given name and attributes.
| |
| AbstractMonitor | back to summary |
|---|---|
| protected AbstractMonitor(String name, Units units, Variability variability, boolean supported) Create a scalar instrumentation monitoring object with the given name and attributes.
| |
| getBaseName | back to summary |
|---|---|
| public String getBaseName() Implements sun. Doc from sun. Returns the base name of this instrumentation object. The base name is the component of the name following the last "." character in the name. | |
| getName | back to summary |
|---|---|
| public String getName() Implements sun. Doc from sun. Returns the name of this instrumentation object. | |
| getUnits | back to summary |
|---|---|
| public Units getUnits() Implements sun. Doc from sun. Returns the Units for this instrumentation monitoring object. | |
| getValue | back to summary |
|---|---|
| public abstract Object getValue() Redeclares sun. Doc from sun. Return an Object that encapsulates this instrumentation object's current data value. | |
| getVariability | back to summary |
|---|---|
| public Variability getVariability() Implements sun. Doc from sun. Returns the Variability for this instrumentation object. | |
| getVectorLength | back to summary |
|---|---|
| public int getVectorLength() Implements sun. Doc from sun. Return the length of the vector. | |
| isSupported | back to summary |
|---|---|
| public boolean isSupported() Implements sun. Doc from sun. Test if the instrumentation object is supported. | |
| isVector | back to summary |
|---|---|
| public boolean isVector() Implements sun. Doc from sun. Test if the instrumentation object is a vector type. | |