public class MetricsRegistry extends Object
Modifier and Type | Method and Description |
---|---|
void |
addSnapshot(LogChannelInterface logChannel,
MetricsSnapshotInterface snapshot) |
static MetricsRegistry |
getInstance() |
Deque<MetricsSnapshotInterface> |
getSnapshotList(String logChannelId)
Get the snapshot list for the given log channel ID.
|
Map<String,Deque<MetricsSnapshotInterface>> |
getSnapshotLists() |
Map<String,MetricsSnapshotInterface> |
getSnapshotMap(String logChannelId)
Get the snapshot map for the given log channel ID.
|
Map<String,Map<String,MetricsSnapshotInterface>> |
getSnapshotMaps() |
public static MetricsRegistry getInstance()
public void addSnapshot(LogChannelInterface logChannel, MetricsSnapshotInterface snapshot)
public Map<String,Deque<MetricsSnapshotInterface>> getSnapshotLists()
public Map<String,Map<String,MetricsSnapshotInterface>> getSnapshotMaps()
public Deque<MetricsSnapshotInterface> getSnapshotList(String logChannelId)
logChannelId
- The log channel to use.public Map<String,MetricsSnapshotInterface> getSnapshotMap(String logChannelId)
logChannelId
- The log channel to use.