
public class PerfLongMonitor extends AbstractMonitor implements LongMonitor
name, supported, units, variability, vectorLength| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
Return an Object that encapsulates this instrumentation object's
current data value.
|
long |
longValue()
Return the current value of the LongInstrument as an long.
|
getBaseName, getName, getUnits, getVariability, getVectorLength, isSupported, isVectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseName, getName, getUnits, getVariability, getVectorLength, isSupported, isVectorpublic PerfLongMonitor(String name, Units u, Variability v, boolean supported, LongBuffer lb)
name - the name of the long instrumentu - the units of measure attributev - the variability attributesupported - support level indicatorlb - the buffer containing the long instrument data.public Object getValue()
getValue in interface MonitorgetValue in class AbstractMonitorpublic long longValue()
longValue in interface LongMonitorCopyright © 2017–2018 earcam. All rights reserved.