Package org.HdrHistogram
Class AbstractHistogramBase
- java.lang.Object
-
- org.HdrHistogram.EncodableHistogram
-
- org.HdrHistogram.AbstractHistogramBase
-
- Direct Known Subclasses:
AbstractHistogram
abstract class AbstractHistogramBase extends EncodableHistogram
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
Fields Modifier and Type Field Description (package private) booleanautoResize(package private) intbucketCount(package private) static java.util.concurrent.atomic.AtomicLongconstructionIdentityCount(package private) intcountsArrayLength(package private) doubledoubleToIntegerValueConversionRatio(package private) longendTimeStampMsec(package private) longhighestTrackableValue(package private) longidentity(package private) doubleintegerToDoubleValueConversionRatio(package private) byte[]intermediateUncompressedByteArray(package private) java.nio.ByteBufferintermediateUncompressedByteBuffer(package private) longlowestDiscernibleValue(package private) intnumberOfSignificantValueDigits(package private) PercentileIteratorpercentileIterator(package private) RecordedValuesIteratorrecordedValuesIterator(package private) longstartTimeStampMsec(package private) intsubBucketCountPower-of-two length of linearly scaled array slots in the counts array.(package private) java.lang.Stringtag(package private) intwordSizeInBytes
-
Constructor Summary
Constructors Constructor Description AbstractHistogramBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) doublegetDoubleToIntegerValueConversionRatio()(package private) doublegetIntegerToDoubleValueConversionRatio()(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 Detail
-
constructionIdentityCount
static java.util.concurrent.atomic.AtomicLong constructionIdentityCount
-
identity
long identity
-
autoResize
volatile boolean autoResize
-
highestTrackableValue
long highestTrackableValue
-
lowestDiscernibleValue
long lowestDiscernibleValue
-
numberOfSignificantValueDigits
int numberOfSignificantValueDigits
-
bucketCount
int bucketCount
-
subBucketCount
int subBucketCount
Power-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
java.lang.String tag
-
integerToDoubleValueConversionRatio
double integerToDoubleValueConversionRatio
-
doubleToIntegerValueConversionRatio
double doubleToIntegerValueConversionRatio
-
percentileIterator
PercentileIterator percentileIterator
-
recordedValuesIterator
RecordedValuesIterator recordedValuesIterator
-
intermediateUncompressedByteBuffer
java.nio.ByteBuffer intermediateUncompressedByteBuffer
-
intermediateUncompressedByteArray
byte[] intermediateUncompressedByteArray
-
-
Method Detail
-
getIntegerToDoubleValueConversionRatio
double getIntegerToDoubleValueConversionRatio()
-
getDoubleToIntegerValueConversionRatio
double getDoubleToIntegerValueConversionRatio()
-
nonConcurrentSetIntegerToDoubleValueConversionRatio
void nonConcurrentSetIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio)
-
setIntegerToDoubleValueConversionRatio
abstract void setIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio)
-
-