Package org.HdrHistogram
Class EncodableHistogram
java.lang.Object
org.HdrHistogram.EncodableHistogram
- Direct Known Subclasses:
AbstractHistogram,DoubleHistogram
A base class for all encodable (and decodable) histogram classes. Log readers and writers
will generally use this base class to provide common log processing across the integer value
based AbstractHistogram subclasses and the double value based DoubleHistogram class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intencodeIntoCompressedByteBuffer(ByteBuffer targetBuffer, int compressionLevel) abstract longabstract doubleabstract intabstract longabstract StringgetTag()abstract voidsetEndTimeStamp(long endTimestamp) abstract voidsetStartTimeStamp(long startTimeStamp) abstract void
-
Constructor Details
-
EncodableHistogram
public EncodableHistogram()
-
-
Method Details
-
getNeededByteBufferCapacity
public abstract int getNeededByteBufferCapacity() -
encodeIntoCompressedByteBuffer
-
getStartTimeStamp
public abstract long getStartTimeStamp() -
setStartTimeStamp
public abstract void setStartTimeStamp(long startTimeStamp) -
getEndTimeStamp
public abstract long getEndTimeStamp() -
setEndTimeStamp
public abstract void setEndTimeStamp(long endTimestamp) -
getTag
-
setTag
-
getMaxValueAsDouble
public abstract double getMaxValueAsDouble()
-