Class KryoDecoder.DecodeStats
java.lang.Object
ch.qos.logback.classic.kryo.KryoDecoder.DecodeStats
- Record Components:
resyncCount- how many times the decoder met damage (a torn or corrupt frame, an undecodable event) and had to resynchronise or give upendedMidEvent- whether the stream ended inside a frame or eventbytesConsumed- bytes of the headers and frames which were decoded successfully
- Enclosing class:
KryoDecoder
Outcome of a decode pass: event count and nanoseconds spent reading objects
versus invoking the consumer, plus what the decoder met on the way.
-
Constructor Summary
ConstructorsConstructorDescriptionDecodeStats(int count, long decodeNanos, long consumeNanos, int resyncCount, boolean endedMidEvent, long bytesConsumed) -
Method Summary
-
Constructor Details
-
DecodeStats
public DecodeStats(int count, long decodeNanos, long consumeNanos, int resyncCount, boolean endedMidEvent, long bytesConsumed)
-
-
Method Details
-
count
-
decodeNanos
-
consumeNanos
-
resyncCount
-
endedMidEvent
-
bytesConsumed
-
truncated
True if some events may be missing: the file was damaged or cut short. -
equals
-
hashCode
-
toString
-