public class HollowProducerMetrics extends HollowMetrics
Constructor and Description |
---|
HollowProducerMetrics() |
Modifier and Type | Method and Description |
---|---|
int |
getCycleFailed() |
int |
getCyclesCompleted() |
int |
getCyclesSucceeded() |
int |
getDeltasCompleted() |
int |
getDeltasFailed() |
int |
getReverseDeltasCompleted() |
int |
getReverseDeltasFailed() |
int |
getSnapshotsCompleted() |
int |
getSnapshotsFailed() |
void |
updateBlobTypeMetrics(HollowProducerListener.PublishStatus publishStatus) |
void |
updateBlobTypeMetrics(Status status,
HollowProducer.Blob blob) |
void |
updateCycleMetrics(HollowProducerListener.ProducerStatus producerStatus)
Updates the producer metrics:
cycles completed, version and type's footprint and ordinals.
|
void |
updateCycleMetrics(Status status,
HollowProducer.ReadState readState,
long version)
Updates the producer metrics:
cycles completed, version and type's footprint and ordinals.
|
getCurrentVersion, getTotalHeapFootprint, getTotalPopulatedOrdinals, getTypeHeapFootprint, getTypePopulatedOrdinals, setCurrentVersion, update, update
public void updateCycleMetrics(HollowProducerListener.ProducerStatus producerStatus)
producerStatus
- the producer statuspublic void updateCycleMetrics(Status status, HollowProducer.ReadState readState, long version)
status
- the statusreadState
- the read stateversion
- the versionpublic void updateBlobTypeMetrics(HollowProducerListener.PublishStatus publishStatus)
public void updateBlobTypeMetrics(Status status, HollowProducer.Blob blob)
public int getCyclesCompleted()
public int getCyclesSucceeded()
public int getCycleFailed()
public int getSnapshotsCompleted()
public int getSnapshotsFailed()
public int getDeltasCompleted()
public int getDeltasFailed()
public int getReverseDeltasCompleted()
public int getReverseDeltasFailed()