Package com.linkedin.davinci.stats
Class DIVStats
- java.lang.Object
-
- com.linkedin.davinci.stats.DIVStats
-
public class DIVStats extends java.lang.Object
This class contains stats for DIV. The stat class is used inVeniceVersionedStats
to serve for a single store version or total of all store versions. This class does not contain reporting logic as reporting is done by theDIVStatsReporter
.
-
-
Constructor Summary
Constructors Constructor Description DIVStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBenignLeaderOffsetRewindCount()
long
getBenignLeaderProducerFailure()
long
getCorruptedMsg()
long
getDuplicateMsg()
long
getLeaderProducerFailure()
long
getMissingMsg()
long
getPotentiallyLossyLeaderOffsetRewindCount()
long
getSuccessMsg()
void
recordBenignLeaderOffsetRewind()
void
recordBenignLeaderProducerFailure()
void
recordCorruptedMsg()
void
recordDuplicateMsg()
void
recordLeaderProducerFailure()
void
recordMissingMsg()
void
recordPotentiallyLossyLeaderOffsetRewind()
void
recordSuccessMsg()
void
setBenignLeaderOffsetRewindCount(long count)
void
setBenignLeaderProducerFailure(long count)
void
setCorruptedMsg(long count)
void
setDuplicateMsg(long count)
void
setLeaderProducerFailure(long count)
void
setMissingMsg(long count)
void
setPotentiallyLossyLeaderOffsetRewindCount(long count)
void
setSuccessMsg(long count)
-
-
-
Method Detail
-
getDuplicateMsg
public long getDuplicateMsg()
-
recordDuplicateMsg
public void recordDuplicateMsg()
-
setDuplicateMsg
public void setDuplicateMsg(long count)
-
getMissingMsg
public long getMissingMsg()
-
recordMissingMsg
public void recordMissingMsg()
-
setMissingMsg
public void setMissingMsg(long count)
-
getCorruptedMsg
public long getCorruptedMsg()
-
recordCorruptedMsg
public void recordCorruptedMsg()
-
setCorruptedMsg
public void setCorruptedMsg(long count)
-
getSuccessMsg
public long getSuccessMsg()
-
recordSuccessMsg
public void recordSuccessMsg()
-
setSuccessMsg
public void setSuccessMsg(long count)
-
recordBenignLeaderOffsetRewind
public void recordBenignLeaderOffsetRewind()
-
getBenignLeaderOffsetRewindCount
public long getBenignLeaderOffsetRewindCount()
-
setBenignLeaderOffsetRewindCount
public void setBenignLeaderOffsetRewindCount(long count)
-
recordPotentiallyLossyLeaderOffsetRewind
public void recordPotentiallyLossyLeaderOffsetRewind()
-
getPotentiallyLossyLeaderOffsetRewindCount
public long getPotentiallyLossyLeaderOffsetRewindCount()
-
setPotentiallyLossyLeaderOffsetRewindCount
public void setPotentiallyLossyLeaderOffsetRewindCount(long count)
-
recordLeaderProducerFailure
public void recordLeaderProducerFailure()
-
getLeaderProducerFailure
public long getLeaderProducerFailure()
-
setLeaderProducerFailure
public void setLeaderProducerFailure(long count)
-
recordBenignLeaderProducerFailure
public void recordBenignLeaderProducerFailure()
-
getBenignLeaderProducerFailure
public long getBenignLeaderProducerFailure()
-
setBenignLeaderProducerFailure
public void setBenignLeaderProducerFailure(long count)
-
-