Package com.lucimber.dbus.util
Class FrameRecoveryManager.FrameStatistics
java.lang.Object
com.lucimber.dbus.util.FrameRecoveryManager.FrameStatistics
- Enclosing class:
- FrameRecoveryManager
Frame recovery statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionFrameStatistics
(long totalFrames, long corruptedFrames, long recoveredFrames, long skippedFrames) Creates frame statistics with the given counters. -
Method Summary
-
Constructor Details
-
FrameStatistics
public FrameStatistics(long totalFrames, long corruptedFrames, long recoveredFrames, long skippedFrames) Creates frame statistics with the given counters.- Parameters:
totalFrames
- total number of frames processedcorruptedFrames
- number of corrupted frames detectedrecoveredFrames
- number of frames successfully recoveredskippedFrames
- number of frames skipped due to corruption
-
-
Method Details
-
getTotalFrames
public long getTotalFrames() -
getCorruptedFrames
public long getCorruptedFrames() -
getRecoveredFrames
public long getRecoveredFrames() -
getSkippedFrames
public long getSkippedFrames() -
getCorruptionRate
public double getCorruptionRate() -
getRecoveryRate
public double getRecoveryRate() -
toString
-