public interface StatsStorageRouter
StatsStorage
implementation. For example, a StatsStorageRouter might serialize and send objects over a network.Modifier and Type | Method and Description |
---|---|
void |
putStaticInfo(java.util.Collection<? extends Persistable> staticInfo)
Static info: reported once per session, upon initialization
|
void |
putStaticInfo(Persistable staticInfo)
Static info: reported once per session, upon initialization
|
void |
putStorageMetaData(java.util.Collection<? extends StorageMetaData> storageMetaData) |
void |
putStorageMetaData(StorageMetaData storageMetaData)
Method to store some additional metadata for each session.
|
void |
putUpdate(java.util.Collection<? extends Persistable> updates)
Updates: stored multiple times per session (periodically, for example)
|
void |
putUpdate(Persistable update)
Updates: stored multiple times per session (periodically, for example)
|
void putStorageMetaData(StorageMetaData storageMetaData)
storageMetaData
- Storage metadata to storevoid putStorageMetaData(java.util.Collection<? extends StorageMetaData> storageMetaData)
void putStaticInfo(Persistable staticInfo)
staticInfo
- Static info to storevoid putStaticInfo(java.util.Collection<? extends Persistable> staticInfo)
staticInfo
- Static info to storevoid putUpdate(Persistable update)
update
- Update info to storevoid putUpdate(java.util.Collection<? extends Persistable> updates)
updates
- Update info to store