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) boolean
autoResize
(package private) int
bucketCount
(package private) static java.util.concurrent.atomic.AtomicLong
constructionIdentityCount
(package private) int
countsArrayLength
(package private) double
doubleToIntegerValueConversionRatio
(package private) long
endTimeStampMsec
(package private) long
highestTrackableValue
(package private) long
identity
(package private) double
integerToDoubleValueConversionRatio
(package private) byte[]
intermediateUncompressedByteArray
(package private) java.nio.ByteBuffer
intermediateUncompressedByteBuffer
(package private) long
lowestDiscernibleValue
(package private) int
numberOfSignificantValueDigits
(package private) PercentileIterator
percentileIterator
(package private) RecordedValuesIterator
recordedValuesIterator
(package private) long
startTimeStampMsec
(package private) int
subBucketCount
Power-of-two length of linearly scaled array slots in the counts array.(package private) java.lang.String
tag
(package private) int
wordSizeInBytes
-
Constructor Summary
Constructors Constructor Description AbstractHistogramBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) double
getDoubleToIntegerValueConversionRatio()
(package private) double
getIntegerToDoubleValueConversionRatio()
(package private) void
nonConcurrentSetIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio)
(package private) abstract void
setIntegerToDoubleValueConversionRatio(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)
-
-