public interface AvailDataPayloadBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addDataPoint(String key,
long timestamp,
Avail value)
Add an availability data point.
|
int |
getNumberDataPoints() |
Object |
toPayload() |
void addDataPoint(String key, long timestamp, Avail value)
toPayload() to get the payload message that can be used to
send to the storage backend via the storage adapter.key - identifies the availability data pointtimestamp - the time the availability was checkedvalue - the value of the availabilityObject toPayload()
int getNumberDataPoints()
added to the payloadCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.