public class AvailStorageProxy extends Object implements AvailStorage
MonitorServiceConfiguration.StorageAdapterConfiguration.| Constructor and Description |
|---|
AvailStorageProxy() |
| Modifier and Type | Method and Description |
|---|---|
AvailDataPayloadBuilder |
createAvailDataPayloadBuilder() |
void |
setStorageAdapter(StorageAdapter storageAdapter) |
void |
store(AvailDataPayloadBuilder payloadBuilder,
long waitMillis)
Stores the availability data found in the given builder.
|
public void setStorageAdapter(StorageAdapter storageAdapter)
public AvailDataPayloadBuilder createAvailDataPayloadBuilder()
createAvailDataPayloadBuilder in interface AvailStoragepublic void store(AvailDataPayloadBuilder payloadBuilder, long waitMillis)
AvailStoragewaitMillis is provided, it indicates the caller is willing
to wait up to that amount of milliseconds for the store to complete before returning.store in interface AvailStoragepayloadBuilder - contains the availability data to storewaitMillis - the amount of milliseconds to wait for the store to complete before returning (0==no wait)Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.