| Modifier and Type | Field and Description |
|---|---|
| pack-priv LongBuffer | lb
The buffer containing the data for the long instrument. |
| Access | Constructor and Description |
|---|---|
| public | PerfLongMonitor(String
the name of the long instrument name, Units the units of measure attribute u, Variability the variability attribute v, boolean support level indicator supported, LongBuffer the buffer containing the long instrument data. lb)Constructor to create a LongMonitor object for the long instrument represented by the data in the given buffer. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: Object - the current value of the LongInstrument. The return type is guaranteed to be of type Long.Implements abstract sun. Implements sun. Return an Object that encapsulates this instrumentation object's current data value. |
| public long | Returns: long - the current value of the LongInstrumentImplements sun. Return the current value of the LongInstrument as an long. |
| lb | back to summary |
|---|---|
| pack-priv LongBuffer lb The buffer containing the data for the long instrument. | |
| PerfLongMonitor | back to summary |
|---|---|
| public PerfLongMonitor(String name, Units u, Variability v, boolean supported, LongBuffer lb) Constructor to create a LongMonitor object for the long instrument represented by the data in the given buffer.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Implements abstract sun. Implements sun. Doc from sun. Return an Object that encapsulates this instrumentation object's current data value. The object returned contains a Long object containing the current value of the LongInstrument.
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements sun. Return the current value of the LongInstrument as an long.
| |