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