public class CollectionStatsStorageRouter extends java.lang.Object implements StatsStorageRouter
Constructor and Description |
---|
CollectionStatsStorageRouter() |
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)
|
public void putStorageMetaData(StorageMetaData storageMetaData)
StatsStorageRouter
putStorageMetaData
in interface StatsStorageRouter
storageMetaData
- Storage metadata to storepublic void putStorageMetaData(java.util.Collection<? extends StorageMetaData> storageMetaData)
putStorageMetaData
in interface StatsStorageRouter
public void putStaticInfo(Persistable staticInfo)
StatsStorageRouter
putStaticInfo
in interface StatsStorageRouter
staticInfo
- Static info to storepublic void putStaticInfo(java.util.Collection<? extends Persistable> staticInfo)
StatsStorageRouter
putStaticInfo
in interface StatsStorageRouter
staticInfo
- Static info to storepublic void putUpdate(Persistable update)
StatsStorageRouter
putUpdate
in interface StatsStorageRouter
update
- Update info to storepublic void putUpdate(java.util.Collection<? extends Persistable> updates)
StatsStorageRouter
putUpdate
in interface StatsStorageRouter
updates
- Update info to store