Package org.HdrHistogram
Class AbstractHistogramBase
java.lang.Object
org.HdrHistogram.EncodableHistogram
org.HdrHistogram.AbstractHistogramBase
- Direct Known Subclasses:
AbstractHistogram
This non-public AbstractHistogramBase super-class separation is meant to bunch "cold" fields
separately from "hot" fields, in an attempt to force the JVM to place the (hot) fields
commonly used in the value recording code paths close together.
Subclass boundaries tend to be strongly control memory layout decisions in most practical
JVM implementations, making this an effective method for control filed grouping layout.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) int(package private) static AtomicLong(package private) int(package private) double(package private) long(package private) long(package private) long(package private) double(package private) byte[](package private) ByteBuffer(package private) long(package private) int(package private) PercentileIterator(package private) RecordedValuesIterator(package private) long(package private) intPower-of-two length of linearly scaled array slots in the counts array.(package private) String(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) double(package private) double(package private) voidnonConcurrentSetIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio) (package private) abstract voidsetIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio) Methods inherited from class org.HdrHistogram.EncodableHistogram
decodeFromCompressedByteBuffer, encodeIntoCompressedByteBuffer, getEndTimeStamp, getMaxValueAsDouble, getNeededByteBufferCapacity, getStartTimeStamp, getTag, setEndTimeStamp, setStartTimeStamp, setTag
-
Field Details
-
constructionIdentityCount
-
identity
long identity -
autoResize
volatile boolean autoResize -
highestTrackableValue
long highestTrackableValue -
lowestDiscernibleValue
long lowestDiscernibleValue -
numberOfSignificantValueDigits
int numberOfSignificantValueDigits -
bucketCount
int bucketCount -
subBucketCount
int subBucketCountPower-of-two length of linearly scaled array slots in the counts array. Long enough to hold the first sequence of entries that must be distinguished by a single unit (determined by configured precision). -
countsArrayLength
int countsArrayLength -
wordSizeInBytes
int wordSizeInBytes -
startTimeStampMsec
long startTimeStampMsec -
endTimeStampMsec
long endTimeStampMsec -
tag
String tag -
integerToDoubleValueConversionRatio
double integerToDoubleValueConversionRatio -
doubleToIntegerValueConversionRatio
double doubleToIntegerValueConversionRatio -
percentileIterator
PercentileIterator percentileIterator -
recordedValuesIterator
RecordedValuesIterator recordedValuesIterator -
intermediateUncompressedByteBuffer
ByteBuffer intermediateUncompressedByteBuffer -
intermediateUncompressedByteArray
byte[] intermediateUncompressedByteArray
-
-
Constructor Details
-
AbstractHistogramBase
AbstractHistogramBase()
-
-
Method Details
-
getIntegerToDoubleValueConversionRatio
double getIntegerToDoubleValueConversionRatio() -
getDoubleToIntegerValueConversionRatio
double getDoubleToIntegerValueConversionRatio() -
nonConcurrentSetIntegerToDoubleValueConversionRatio
void nonConcurrentSetIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio) -
setIntegerToDoubleValueConversionRatio
abstract void setIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio)
-