public interface IInstrument<T>
Modifier and Type | Method and Description |
---|---|
T |
getValue()
Obtain a sample.
|
long |
lastModified()
Obtain the timestamp for the last collected sample.
|
void |
setValue(T value,
long timestamp)
Set the current value.
|
T getValue()
long lastModified()
void setValue(T value, long timestamp)
value
- The sampled value.timestamp
- The timestamp for that sample.UnsupportedOperationException
- if this operation is not allowed.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.