@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(encoding="Xbuf", compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=106) public final class SrvMonIntHistogram extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonIntHistogram>, ISrvMonIntHistogram
SrvMonIntHistogram reports results of XVM side calculations done for SrvMonIntSeries statistics.
ADM Type | Embedded Entity |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
maximum | Integer | 18 |
The maximum value recorded in the sample set.
The value may not be set if the sample size is 0. |
mean | Integer | 19 |
The mean value for the sample set.
The value may not be set if the sample size is 0. |
median | Integer | 20 |
The median value for the sample set.
The value may not be set if the sample size is 0. |
minimum | Integer | 17 |
The minimum value recorded in the sample set.
The value may not be set if the sample size is 0. |
pct75 | Integer | 21 |
The 75th percentile for the sample set.
The value may not be set if the sample size is 0. |
pct90 | Integer | 22 |
The 90th percentile for the sample set.
The value may not be set if the sample size is 0. |
pct99 | Integer | 23 |
The 99th percentile for the sample set.
The value may not be set if the sample size is 0. |
pct999 | Integer | 24 |
The 99.9th percentile for the the sample set.
The value may not be set if the sample size is 0. |
pct9999 | Integer | 25 |
The 99.99th percentile for the sample set.
The value may not be set if the sample size is 0. |
sampleSize | Long | 16 | The number of datapoints over which results were calculated. |
samplesOverMax | Long | 26 |
The number of samples that exceeded the maximum recordable value.
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will exceed the maximum value allowable. In this case the data point is downsampled to the maximum recordable value which skews the percentile calculations lower. SamplesOverMax allows detection of how frequently this is occuring. |
samplesUnderMin | Long | 27 |
The number of samples that fell below the minimum recordable value.
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will be below 0 (e.g for latency stats in cases where clock skew is possible.) In such cases the the value will be upsampled to 0 which can skew the histogram results. SamplesUnderMin allows detection of how frequently this is happening. |
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonIntHistogram.Field
The SrvMonIntHistogram xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonIntHistogram.ListField
The SrvMonIntHistogram list field (used internally when this entity is used as an array field of another entity).
|
Modifier and Type | Field and Description |
---|---|
static SrvMonIntHistogram[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
Constructor and Description |
---|
SrvMonIntHistogram() |
SrvMonIntHistogram(int initialBackingBufferSize) |
Modifier and Type | Method and Description |
---|---|
SrvMonIntHistogram |
acquire() |
void |
clearContent() |
void |
clearMaximum()
Clears the value of 'maximum'.
|
void |
clearMean()
Clears the value of 'mean'.
|
void |
clearMedian()
Clears the value of 'median'.
|
void |
clearMinimum()
Clears the value of 'minimum'.
|
void |
clearPct75()
Clears the value of 'pct75'.
|
void |
clearPct90()
Clears the value of 'pct90'.
|
void |
clearPct99()
Clears the value of 'pct99'.
|
void |
clearPct999()
Clears the value of 'pct999'.
|
void |
clearPct9999()
Clears the value of 'pct9999'.
|
void |
clearSampleSize()
Clears the value of 'sampleSize'.
|
void |
clearSamplesOverMax()
Clears the value of 'samplesOverMax'.
|
void |
clearSamplesUnderMin()
Clears the value of 'samplesUnderMin'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonIntHistogram |
copy()
Creates a copy of this SrvMonIntHistogram.
|
void |
copyInto(SrvMonIntHistogram copy)
Copies the contents of this SrvMonIntHistogram into the target.
|
static SrvMonIntHistogram |
create() |
static SrvMonIntHistogram |
createFrom(byte[] serializedContainer) |
static SrvMonIntHistogram |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonIntHistogram |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonIntHistogram |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonIntHistogram |
deserializeFromByteArray(byte[] array) |
SrvMonIntHistogram |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonIntHistogram |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonIntHistogram |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonIntHistogram |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonIntHistogram |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonIntHistogram |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonIntHistogram |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
void |
dispose() |
PktBuffer |
getBackingBuffer() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
boolean |
getIsReadOnly() |
int |
getMaximum()
Gets the value of 'maximum'.
|
com.neeve.xbuf.XbufVariableIntField |
getMaximumField() |
static int |
getMaximumFieldId() |
int |
getMean()
Gets the value of 'mean'.
|
com.neeve.xbuf.XbufVariableIntField |
getMeanField() |
static int |
getMeanFieldId() |
int |
getMedian()
Gets the value of 'median'.
|
com.neeve.xbuf.XbufVariableIntField |
getMedianField() |
static int |
getMedianFieldId() |
int |
getMinimum()
Gets the value of 'minimum'.
|
com.neeve.xbuf.XbufVariableIntField |
getMinimumField() |
static int |
getMinimumFieldId() |
int |
getOwnerCount() |
int |
getPct75()
Gets the value of 'pct75'.
|
com.neeve.xbuf.XbufVariableIntField |
getPct75Field() |
static int |
getPct75FieldId() |
int |
getPct90()
Gets the value of 'pct90'.
|
com.neeve.xbuf.XbufVariableIntField |
getPct90Field() |
static int |
getPct90FieldId() |
int |
getPct99()
Gets the value of 'pct99'.
|
int |
getPct999()
Gets the value of 'pct999'.
|
int |
getPct9999()
Gets the value of 'pct9999'.
|
com.neeve.xbuf.XbufVariableIntField |
getPct9999Field() |
static int |
getPct9999FieldId() |
com.neeve.xbuf.XbufVariableIntField |
getPct999Field() |
static int |
getPct999FieldId() |
com.neeve.xbuf.XbufVariableIntField |
getPct99Field() |
static int |
getPct99FieldId() |
UtlPool<SrvMonIntHistogram> |
getPool()
Get a pool item's pool.
|
long |
getSampleSize()
Gets the value of 'sampleSize'.
|
com.neeve.xbuf.XbufVariableLongField |
getSampleSizeField() |
static int |
getSampleSizeFieldId() |
long |
getSamplesOverMax()
Gets the value of 'samplesOverMax'.
|
com.neeve.xbuf.XbufVariableLongField |
getSamplesOverMaxField() |
static int |
getSamplesOverMaxFieldId() |
long |
getSamplesUnderMin()
Gets the value of 'samplesUnderMin'.
|
com.neeve.xbuf.XbufVariableLongField |
getSamplesUnderMinField() |
static int |
getSamplesUnderMinFieldId() |
int |
getSerializeToNativeLength() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasMaximum()
Checks for the presence of 'maximum'.
|
boolean |
hasMean()
Checks for the presence of 'mean'.
|
boolean |
hasMedian()
Checks for the presence of 'median'.
|
boolean |
hasMinimum()
Checks for the presence of 'minimum'.
|
boolean |
hasPct75()
Checks for the presence of 'pct75'.
|
boolean |
hasPct90()
Checks for the presence of 'pct90'.
|
boolean |
hasPct99()
Checks for the presence of 'pct99'.
|
boolean |
hasPct999()
Checks for the presence of 'pct999'.
|
boolean |
hasPct9999()
Checks for the presence of 'pct9999'.
|
boolean |
hasSampleSize()
Checks for the presence of 'sampleSize'.
|
boolean |
hasSamplesOverMax()
Checks for the presence of 'samplesOverMax'.
|
boolean |
hasSamplesUnderMin()
Checks for the presence of 'samplesUnderMin'.
|
boolean |
hasXRogType() |
SrvMonIntHistogram |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
static void |
optimizeFor(int val) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative) |
int |
serializeToNative(long address,
int addressOffset) |
void |
setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setMaximum(int val)
Sets the value of 'maximum'.
|
void |
setMaximumFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setMean(int val)
Sets the value of 'mean'.
|
void |
setMeanFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setMedian(int val)
Sets the value of 'median'.
|
void |
setMedianFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setMinimum(int val)
Sets the value of 'minimum'.
|
void |
setMinimumFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setPct75(int val)
Sets the value of 'pct75'.
|
void |
setPct75From(com.neeve.xbuf.XbufVariableIntField val) |
void |
setPct90(int val)
Sets the value of 'pct90'.
|
void |
setPct90From(com.neeve.xbuf.XbufVariableIntField val) |
void |
setPct99(int val)
Sets the value of 'pct99'.
|
void |
setPct999(int val)
Sets the value of 'pct999'.
|
void |
setPct9999(int val)
Sets the value of 'pct9999'.
|
void |
setPct9999From(com.neeve.xbuf.XbufVariableIntField val) |
void |
setPct999From(com.neeve.xbuf.XbufVariableIntField val) |
void |
setPct99From(com.neeve.xbuf.XbufVariableIntField val) |
SrvMonIntHistogram |
setPool(UtlPool<SrvMonIntHistogram> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setSampleSize(long val)
Sets the value of 'sampleSize'.
|
void |
setSampleSizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setSamplesOverMax(long val)
Sets the value of 'samplesOverMax'.
|
void |
setSamplesOverMaxFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setSamplesUnderMin(long val)
Sets the value of 'samplesUnderMin'.
|
void |
setSamplesUnderMinFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setXRogType(short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonIntHistogram[] EMPTY_ARRAY
public SrvMonIntHistogram()
public SrvMonIntHistogram(int initialBackingBufferSize)
public static SrvMonIntHistogram create()
public static SrvMonIntHistogram createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonIntHistogram createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonIntHistogram createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonIntHistogram createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final void setAsReadOnly()
public final boolean getIsReadOnly()
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getSampleSizeFieldId()
public final void setSampleSize(long val)
ISrvMonIntHistogram
setSampleSize
in interface ISrvMonIntHistogram
val
- The value to set.public final long getSampleSize()
ISrvMonIntHistogram
getSampleSize
in interface ISrvMonIntHistogram
public final void setSampleSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getSampleSizeField()
public final boolean hasSampleSize()
ISrvMonIntHistogram
hasSampleSize
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getSampleSize()
public final void clearSampleSize()
ISrvMonIntHistogram
clearSampleSize
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setSampleSize(long)
public static final int getMinimumFieldId()
public final void setMinimum(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setMinimum
in interface ISrvMonIntHistogram
val
- The value to set.public final int getMinimum()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getMinimum
in interface ISrvMonIntHistogram
public final void setMinimumFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getMinimumField()
public final boolean hasMinimum()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasMinimum
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getMinimum()
public final void clearMinimum()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearMinimum
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setMinimum(int)
public static final int getMaximumFieldId()
public final void setMaximum(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setMaximum
in interface ISrvMonIntHistogram
val
- The value to set.public final int getMaximum()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getMaximum
in interface ISrvMonIntHistogram
public final void setMaximumFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getMaximumField()
public final boolean hasMaximum()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasMaximum
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getMaximum()
public final void clearMaximum()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearMaximum
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setMaximum(int)
public static final int getMeanFieldId()
public final void setMean(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setMean
in interface ISrvMonIntHistogram
val
- The value to set.public final int getMean()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getMean
in interface ISrvMonIntHistogram
public final void setMeanFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getMeanField()
public final boolean hasMean()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasMean
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getMean()
public final void clearMean()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearMean
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setMean(int)
public static final int getMedianFieldId()
public final void setMedian(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setMedian
in interface ISrvMonIntHistogram
val
- The value to set.public final int getMedian()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getMedian
in interface ISrvMonIntHistogram
public final void setMedianFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getMedianField()
public final boolean hasMedian()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasMedian
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getMedian()
public final void clearMedian()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearMedian
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setMedian(int)
public static final int getPct75FieldId()
public final void setPct75(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setPct75
in interface ISrvMonIntHistogram
val
- The value to set.public final int getPct75()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getPct75
in interface ISrvMonIntHistogram
public final void setPct75From(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getPct75Field()
public final boolean hasPct75()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasPct75
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getPct75()
public final void clearPct75()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearPct75
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setPct75(int)
public static final int getPct90FieldId()
public final void setPct90(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setPct90
in interface ISrvMonIntHistogram
val
- The value to set.public final int getPct90()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getPct90
in interface ISrvMonIntHistogram
public final void setPct90From(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getPct90Field()
public final boolean hasPct90()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasPct90
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getPct90()
public final void clearPct90()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearPct90
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setPct90(int)
public static final int getPct99FieldId()
public final void setPct99(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setPct99
in interface ISrvMonIntHistogram
val
- The value to set.public final int getPct99()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getPct99
in interface ISrvMonIntHistogram
public final void setPct99From(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getPct99Field()
public final boolean hasPct99()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasPct99
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getPct99()
public final void clearPct99()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearPct99
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setPct99(int)
public static final int getPct999FieldId()
public final void setPct999(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setPct999
in interface ISrvMonIntHistogram
val
- The value to set.public final int getPct999()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getPct999
in interface ISrvMonIntHistogram
public final void setPct999From(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getPct999Field()
public final boolean hasPct999()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasPct999
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getPct999()
public final void clearPct999()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearPct999
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setPct999(int)
public static final int getPct9999FieldId()
public final void setPct9999(int val)
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
setPct9999
in interface ISrvMonIntHistogram
val
- The value to set.public final int getPct9999()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
getPct9999
in interface ISrvMonIntHistogram
public final void setPct9999From(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getPct9999Field()
public final boolean hasPct9999()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
hasPct9999
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getPct9999()
public final void clearPct9999()
ISrvMonIntHistogram
The value may not be set if the sample size is 0.
clearPct9999
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setPct9999(int)
public static final int getSamplesOverMaxFieldId()
public final void setSamplesOverMax(long val)
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will exceed the maximum value allowable. In this case the data point is downsampled to the maximum recordable value which skews the percentile calculations lower. SamplesOverMax allows detection of how frequently this is occuring.
setSamplesOverMax
in interface ISrvMonIntHistogram
val
- The value to set.public final long getSamplesOverMax()
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will exceed the maximum value allowable. In this case the data point is downsampled to the maximum recordable value which skews the percentile calculations lower. SamplesOverMax allows detection of how frequently this is occuring.
getSamplesOverMax
in interface ISrvMonIntHistogram
public final void setSamplesOverMaxFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getSamplesOverMaxField()
public final boolean hasSamplesOverMax()
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will exceed the maximum value allowable. In this case the data point is downsampled to the maximum recordable value which skews the percentile calculations lower. SamplesOverMax allows detection of how frequently this is occuring.
hasSamplesOverMax
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getSamplesOverMax()
public final void clearSamplesOverMax()
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will exceed the maximum value allowable. In this case the data point is downsampled to the maximum recordable value which skews the percentile calculations lower. SamplesOverMax allows detection of how frequently this is occuring.
clearSamplesOverMax
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setSamplesOverMax(long)
public static final int getSamplesUnderMinFieldId()
public final void setSamplesUnderMin(long val)
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will be below 0 (e.g for latency stats in cases where clock skew is possible.) In such cases the the value will be upsampled to 0 which can skew the histogram results. SamplesUnderMin allows detection of how frequently this is happening.
setSamplesUnderMin
in interface ISrvMonIntHistogram
val
- The value to set.public final long getSamplesUnderMin()
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will be below 0 (e.g for latency stats in cases where clock skew is possible.) In such cases the the value will be upsampled to 0 which can skew the histogram results. SamplesUnderMin allows detection of how frequently this is happening.
getSamplesUnderMin
in interface ISrvMonIntHistogram
public final void setSamplesUnderMinFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getSamplesUnderMinField()
public final boolean hasSamplesUnderMin()
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will be below 0 (e.g for latency stats in cases where clock skew is possible.) In such cases the the value will be upsampled to 0 which can skew the histogram results. SamplesUnderMin allows detection of how frequently this is happening.
hasSamplesUnderMin
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.getSamplesUnderMin()
public final void clearSamplesUnderMin()
ISrvMonIntHistogram
When computing data point percentiles using an HDRHistogram it is possible that a recorded value will be below 0 (e.g for latency stats in cases where clock skew is possible.) In such cases the the value will be upsampled to 0 which can skew the histogram results. SamplesUnderMin allows detection of how frequently this is happening.
clearSamplesUnderMin
in interface ISrvMonIntHistogram
ISrvMonIntHistogram.setSamplesUnderMin(long)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address, int addressOffset)
public final SrvMonIntHistogram deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonIntHistogram deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonIntHistogram deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonIntHistogram deserializeFromByteArray(byte[] array)
public final SrvMonIntHistogram deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonIntHistogram deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonIntHistogram deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonIntHistogram deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncer
desync
in interface com.neeve.xbuf.IXbufDesyncer
buffer
- The buffer to desync frompos
- The position in the container's backing buffer to desync
fromframeOnly
- Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean)
for more
informationpublic final SrvMonIntHistogram init()
UtlPool.Item
This method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init
in interface UtlPool.Item<SrvMonIntHistogram>
public final SrvMonIntHistogram setPool(UtlPool<SrvMonIntHistogram> pool)
UtlPool.Item
This method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool
in interface UtlPool.Item<SrvMonIntHistogram>
public final UtlPool<SrvMonIntHistogram> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool
in interface UtlPool.Item<SrvMonIntHistogram>
UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
public final boolean isReferenceCounted()
public final SrvMonIntHistogram acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy()
method in that:
public final SrvMonIntHistogram copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonIntHistogram's embedded entity fields.
The returned copy will be writeable even if this SrvMonIntHistogram is read only.
public final void copyInto(SrvMonIntHistogram copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonIntHistogram's embedded entity fields.
The returned copy will be writeable even if this SrvMonIntHistogram is read only.
copy
- The target into which to copy.public final boolean isValid()
IRogValidatable
isValid
in interface IRogValidatable
public final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatable
getValidationErrors
in interface IRogValidatable
results
- A results list into which validation errors will be collected.errorPrefix
- The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.