Interface DataSinkInformation
- 
- All Superinterfaces:
 java.io.Serializable
- All Known Implementing Classes:
 DefaultDataSinkInfo,TagHistorySplitterProvider.InternalDataSink.SplitterStatus
public interface DataSinkInformation extends java.io.Serializable 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataStoreStatusgetDataStoreStatus()java.lang.StringgetDescriptionKey()Returns a key that points to a useful name describing the store, such as "Memory Buffer" or "Local Cache".java.util.List<LocalizedString>getMessages()Returns any messages that the data sink might want to display.StatMetricgetStorageMetric()Retrieves the metric for data flowing into the sink/store.booleanisAvailable()booleanisDataStore()Returns whether this sink is also a DataStore (aka data cache, the "store" part of store and forward).
If it is, statistics can be retrieved through getDataStoreStatus 
 - 
 
- 
- 
Method Detail
- 
getDescriptionKey
java.lang.String getDescriptionKey()
Returns a key that points to a useful name describing the store, such as "Memory Buffer" or "Local Cache". 
- 
isAvailable
boolean isAvailable()
 
- 
isDataStore
boolean isDataStore()
Returns whether this sink is also a DataStore (aka data cache, the "store" part of store and forward).
If it is, statistics can be retrieved through getDataStoreStatus 
- 
getDataStoreStatus
@Nullable DataStoreStatus getDataStoreStatus()
 
- 
getStorageMetric
StatMetric getStorageMetric()
Retrieves the metric for data flowing into the sink/store. If this is a store, will be the same as getDataStoreStatus().getStorageMetric() 
- 
getMessages
java.util.List<LocalizedString> getMessages()
Returns any messages that the data sink might want to display. 
 - 
 
 -