Package ai.superstream
Class SuperstreamCounters
java.lang.Object
ai.superstream.SuperstreamCounters
-
Field Summary
FieldsModifier and TypeFieldDescriptionlonglongintintintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongintintintintvoidincrementTotalBytesAfterReduction(long bytes) voidincrementTotalBytesBeforeReduction(long bytes) voidvoidvoidvoidvoidreset()voidsetTotalBytesAfterReduction(long totalBytesAfterReduction) voidsetTotalBytesBeforeReduction(long totalBytesBeforeReduction) voidsetTotalMessagesFailedConsume(int totalMessagesFailedConsume) voidsetTotalMessagesFailedProduce(int totalMessagesFailedProduce) voidsetTotalMessagesSuccessfullyConsumed(int totalMessagesSuccessfullyConsumed) voidsetTotalMessagesSuccessfullyProduce(int totalMessagesSuccessfullyProduce)
-
Field Details
-
TotalBytesBeforeReduction
public long TotalBytesBeforeReduction -
TotalBytesAfterReduction
public long TotalBytesAfterReduction -
TotalMessagesSuccessfullyProduce
public int TotalMessagesSuccessfullyProduce -
TotalMessagesSuccessfullyConsumed
public int TotalMessagesSuccessfullyConsumed -
TotalMessagesFailedProduce
public int TotalMessagesFailedProduce -
TotalMessagesFailedConsume
public int TotalMessagesFailedConsume
-
-
Constructor Details
-
SuperstreamCounters
public SuperstreamCounters()
-
-
Method Details
-
reset
public void reset() -
incrementTotalBytesBeforeReduction
public void incrementTotalBytesBeforeReduction(long bytes) -
incrementTotalBytesAfterReduction
public void incrementTotalBytesAfterReduction(long bytes) -
incrementTotalMessagesSuccessfullyProduce
public void incrementTotalMessagesSuccessfullyProduce() -
incrementTotalMessagesSuccessfullyConsumed
public void incrementTotalMessagesSuccessfullyConsumed() -
incrementTotalMessagesFailedProduce
public void incrementTotalMessagesFailedProduce() -
incrementTotalMessagesFailedConsume
public void incrementTotalMessagesFailedConsume() -
getTotalBytesBeforeReduction
public long getTotalBytesBeforeReduction() -
getTotalBytesAfterReduction
public long getTotalBytesAfterReduction() -
getTotalMessagesSuccessfullyProduce
public int getTotalMessagesSuccessfullyProduce() -
getTotalMessagesSuccessfullyConsumed
public int getTotalMessagesSuccessfullyConsumed() -
getTotalMessagesFailedProduce
public int getTotalMessagesFailedProduce() -
getTotalMessagesFailedConsume
public int getTotalMessagesFailedConsume() -
setTotalBytesBeforeReduction
public void setTotalBytesBeforeReduction(long totalBytesBeforeReduction) -
setTotalBytesAfterReduction
public void setTotalBytesAfterReduction(long totalBytesAfterReduction) -
setTotalMessagesSuccessfullyProduce
public void setTotalMessagesSuccessfullyProduce(int totalMessagesSuccessfullyProduce) -
setTotalMessagesSuccessfullyConsumed
public void setTotalMessagesSuccessfullyConsumed(int totalMessagesSuccessfullyConsumed) -
setTotalMessagesFailedProduce
public void setTotalMessagesFailedProduce(int totalMessagesFailedProduce) -
setTotalMessagesFailedConsume
public void setTotalMessagesFailedConsume(int totalMessagesFailedConsume)
-