public class HollowConsumerMetrics extends HollowMetrics
Constructor and Description |
---|
HollowConsumerMetrics() |
Modifier and Type | Method and Description |
---|---|
int |
getRefreshFailed() |
int |
getRefreshSucceded() |
void |
updateRefreshFailed() |
void |
updateTypeStateMetrics(HollowReadStateEngine hollowReadStateEngine,
long version)
Updates the consumer metrics:
refresh succeeded, version and type's footprint and ordinals.
|
getCurrentVersion, getTotalHeapFootprint, getTotalPopulatedOrdinals, getTypeHeapFootprint, getTypePopulatedOrdinals, setCurrentVersion, update, update
public void updateTypeStateMetrics(HollowReadStateEngine hollowReadStateEngine, long version)
hollowReadStateEngine
- the state engineversion
- the versionpublic void updateRefreshFailed()
public int getRefreshFailed()
public int getRefreshSucceded()