@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Fri Dec 05 13:32:50 UTC 2025") @AdmGenerated(encoding="Xbuf", compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 1:32 PM", buildInfo="nvx-talon-3.16.63 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=229) public final class SrvMonLongHistogram extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonLongHistogram>, ISrvMonLongHistogram
SrvMonLongHistogram reports results of XVM side calculations done for SrvMonLongSeries statistics.
| ADM Type | Embedded Entity |
| Factory | SrvMonFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| maximum | Long | 18 |
The maximum value recorded in the sample set.
The value may not be set if the sample size is 0. |
| mean | Long | 19 |
The mean value for the sample set.
The value may not be set if the sample size is 0. |
| median | Long | 20 |
The median value for the sample set.
The value may not be set if the sample size is 0. |
| minimum | Long | 17 |
The minimum value recorded in the sample set.
The value may not be set if the sample size is 0. |
| pct75 | Long | 21 |
The 75th percentile for the sample set.
The value may not be set if the sample size is 0. |
| pct90 | Long | 22 |
The 90th percentile for the sample set.
The value may not be set if the sample size is 0. |
| pct99 | Long | 23 |
The 99th percentile for the sample set.
The value may not be set if the sample size is 0. |
| pct999 | Long | 24 |
The 99.9th percentile for the the sample set.
The value may not be set if the sample size is 0. |
| pct9999 | Long | 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 |
SrvMonLongHistogram.Field
The SrvMonLongHistogram xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonLongHistogram.ListField
The SrvMonLongHistogram list field (used internally when this entity is used as an array field of another entity).
|
| Modifier and Type | Field and Description |
|---|---|
static SrvMonLongHistogram[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
| Constructor and Description |
|---|
SrvMonLongHistogram() |
SrvMonLongHistogram(int initialBackingBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
SrvMonLongHistogram |
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.
|
SrvMonLongHistogram |
copy()
Creates a copy of this SrvMonLongHistogram.
|
void |
copyInto(SrvMonLongHistogram copy)
Copies the contents of this SrvMonLongHistogram into the target.
|
static SrvMonLongHistogram |
create() |
static SrvMonLongHistogram |
createFrom(byte[] serializedContainer) |
static SrvMonLongHistogram |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonLongHistogram |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonLongHistogram |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonLongHistogram |
deserializeFromByteArray(byte[] array) |
SrvMonLongHistogram |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonLongHistogram |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonLongHistogram |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonLongHistogram |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonLongHistogram |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonLongHistogram |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonLongHistogram |
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() |
long |
getMaximum()
Gets the value of 'maximum'.
|
Long |
getMaximumAsObject()
Gets the value of 'maximum'.
|
com.neeve.xbuf.XbufVariableLongField |
getMaximumField() |
static int |
getMaximumFieldId() |
long |
getMean()
Gets the value of 'mean'.
|
Long |
getMeanAsObject()
Gets the value of 'mean'.
|
com.neeve.xbuf.XbufVariableLongField |
getMeanField() |
static int |
getMeanFieldId() |
long |
getMedian()
Gets the value of 'median'.
|
Long |
getMedianAsObject()
Gets the value of 'median'.
|
com.neeve.xbuf.XbufVariableLongField |
getMedianField() |
static int |
getMedianFieldId() |
long |
getMinimum()
Gets the value of 'minimum'.
|
Long |
getMinimumAsObject()
Gets the value of 'minimum'.
|
com.neeve.xbuf.XbufVariableLongField |
getMinimumField() |
static int |
getMinimumFieldId() |
int |
getOwnerCount() |
long |
getPct75()
Gets the value of 'pct75'.
|
Long |
getPct75AsObject()
Gets the value of 'pct75'.
|
com.neeve.xbuf.XbufVariableLongField |
getPct75Field() |
static int |
getPct75FieldId() |
long |
getPct90()
Gets the value of 'pct90'.
|
Long |
getPct90AsObject()
Gets the value of 'pct90'.
|
com.neeve.xbuf.XbufVariableLongField |
getPct90Field() |
static int |
getPct90FieldId() |
long |
getPct99()
Gets the value of 'pct99'.
|
long |
getPct999()
Gets the value of 'pct999'.
|
long |
getPct9999()
Gets the value of 'pct9999'.
|
Long |
getPct9999AsObject()
Gets the value of 'pct9999'.
|
com.neeve.xbuf.XbufVariableLongField |
getPct9999Field() |
static int |
getPct9999FieldId() |
Long |
getPct999AsObject()
Gets the value of 'pct999'.
|
com.neeve.xbuf.XbufVariableLongField |
getPct999Field() |
static int |
getPct999FieldId() |
Long |
getPct99AsObject()
Gets the value of 'pct99'.
|
com.neeve.xbuf.XbufVariableLongField |
getPct99Field() |
static int |
getPct99FieldId() |
UtlPool<SrvMonLongHistogram> |
getPool()
Get a pool item's pool.
|
long |
getSampleSize()
Gets the value of 'sampleSize'.
|
Long |
getSampleSizeAsObject()
Gets the value of 'sampleSize'.
|
com.neeve.xbuf.XbufVariableLongField |
getSampleSizeField() |
static int |
getSampleSizeFieldId() |
long |
getSamplesOverMax()
Gets the value of 'samplesOverMax'.
|
Long |
getSamplesOverMaxAsObject()
Gets the value of 'samplesOverMax'.
|
com.neeve.xbuf.XbufVariableLongField |
getSamplesOverMaxField() |
static int |
getSamplesOverMaxFieldId() |
long |
getSamplesUnderMin()
Gets the value of 'samplesUnderMin'.
|
Long |
getSamplesUnderMinAsObject()
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() |
Short |
getXRogTypeAsObject() |
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() |
SrvMonLongHistogram |
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(long val)
Sets the value of 'maximum'.
|
void |
setMaximumAsObject(Long val)
Sets the value of 'maximum'.
|
void |
setMaximumFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setMean(long val)
Sets the value of 'mean'.
|
void |
setMeanAsObject(Long val)
Sets the value of 'mean'.
|
void |
setMeanFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setMedian(long val)
Sets the value of 'median'.
|
void |
setMedianAsObject(Long val)
Sets the value of 'median'.
|
void |
setMedianFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setMinimum(long val)
Sets the value of 'minimum'.
|
void |
setMinimumAsObject(Long val)
Sets the value of 'minimum'.
|
void |
setMinimumFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setPct75(long val)
Sets the value of 'pct75'.
|
void |
setPct75AsObject(Long val)
Sets the value of 'pct75'.
|
void |
setPct75From(com.neeve.xbuf.XbufVariableLongField val) |
void |
setPct90(long val)
Sets the value of 'pct90'.
|
void |
setPct90AsObject(Long val)
Sets the value of 'pct90'.
|
void |
setPct90From(com.neeve.xbuf.XbufVariableLongField val) |
void |
setPct99(long val)
Sets the value of 'pct99'.
|
void |
setPct999(long val)
Sets the value of 'pct999'.
|
void |
setPct9999(long val)
Sets the value of 'pct9999'.
|
void |
setPct9999AsObject(Long val)
Sets the value of 'pct9999'.
|
void |
setPct9999From(com.neeve.xbuf.XbufVariableLongField val) |
void |
setPct999AsObject(Long val)
Sets the value of 'pct999'.
|
void |
setPct999From(com.neeve.xbuf.XbufVariableLongField val) |
void |
setPct99AsObject(Long val)
Sets the value of 'pct99'.
|
void |
setPct99From(com.neeve.xbuf.XbufVariableLongField val) |
SrvMonLongHistogram |
setPool(UtlPool<SrvMonLongHistogram> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setSampleSize(long val)
Sets the value of 'sampleSize'.
|
void |
setSampleSizeAsObject(Long val)
Sets the value of 'sampleSize'.
|
void |
setSampleSizeFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setSamplesOverMax(long val)
Sets the value of 'samplesOverMax'.
|
void |
setSamplesOverMaxAsObject(Long val)
Sets the value of 'samplesOverMax'.
|
void |
setSamplesOverMaxFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setSamplesUnderMin(long val)
Sets the value of 'samplesUnderMin'.
|
void |
setSamplesUnderMinAsObject(Long val)
Sets the value of 'samplesUnderMin'.
|
void |
setSamplesUnderMinFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setXRogType(short val) |
void |
setXRogTypeAsObject(Short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonLongHistogram[] EMPTY_ARRAY
public SrvMonLongHistogram()
public SrvMonLongHistogram(int initialBackingBufferSize)
public static SrvMonLongHistogram create()
public static SrvMonLongHistogram createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonLongHistogram createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonLongHistogram createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonLongHistogram 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 void setXRogTypeAsObject(Short val)
public final short getXRogType()
public final Short getXRogTypeAsObject()
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)
ISrvMonLongHistogramsetSampleSize in interface ISrvMonLongHistogramval - The value to set.public final void setSampleSizeAsObject(Long val)
ISrvMonLongHistogramsetSampleSizeAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getSampleSize()
ISrvMonLongHistogramgetSampleSize in interface ISrvMonLongHistogrampublic final Long getSampleSizeAsObject()
ISrvMonLongHistogramgetSampleSizeAsObject in interface ISrvMonLongHistogrampublic final void setSampleSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getSampleSizeField()
public final boolean hasSampleSize()
ISrvMonLongHistogramhasSampleSize in interface ISrvMonLongHistogramISrvMonLongHistogram.getSampleSize()public final void clearSampleSize()
ISrvMonLongHistogramclearSampleSize in interface ISrvMonLongHistogramISrvMonLongHistogram.setSampleSize(long)public static final int getMinimumFieldId()
public final void setMinimum(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMinimum in interface ISrvMonLongHistogramval - The value to set.public final void setMinimumAsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMinimumAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getMinimum()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMinimum in interface ISrvMonLongHistogrampublic final Long getMinimumAsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMinimumAsObject in interface ISrvMonLongHistogrampublic final void setMinimumFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getMinimumField()
public final boolean hasMinimum()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasMinimum in interface ISrvMonLongHistogramISrvMonLongHistogram.getMinimum()public final void clearMinimum()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearMinimum in interface ISrvMonLongHistogramISrvMonLongHistogram.setMinimum(long)public static final int getMaximumFieldId()
public final void setMaximum(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMaximum in interface ISrvMonLongHistogramval - The value to set.public final void setMaximumAsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMaximumAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getMaximum()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMaximum in interface ISrvMonLongHistogrampublic final Long getMaximumAsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMaximumAsObject in interface ISrvMonLongHistogrampublic final void setMaximumFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getMaximumField()
public final boolean hasMaximum()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasMaximum in interface ISrvMonLongHistogramISrvMonLongHistogram.getMaximum()public final void clearMaximum()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearMaximum in interface ISrvMonLongHistogramISrvMonLongHistogram.setMaximum(long)public static final int getMeanFieldId()
public final void setMean(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMean in interface ISrvMonLongHistogramval - The value to set.public final void setMeanAsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMeanAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getMean()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMean in interface ISrvMonLongHistogrampublic final Long getMeanAsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMeanAsObject in interface ISrvMonLongHistogrampublic final void setMeanFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getMeanField()
public final boolean hasMean()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasMean in interface ISrvMonLongHistogramISrvMonLongHistogram.getMean()public final void clearMean()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearMean in interface ISrvMonLongHistogramISrvMonLongHistogram.setMean(long)public static final int getMedianFieldId()
public final void setMedian(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMedian in interface ISrvMonLongHistogramval - The value to set.public final void setMedianAsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setMedianAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getMedian()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMedian in interface ISrvMonLongHistogrampublic final Long getMedianAsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getMedianAsObject in interface ISrvMonLongHistogrampublic final void setMedianFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getMedianField()
public final boolean hasMedian()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasMedian in interface ISrvMonLongHistogramISrvMonLongHistogram.getMedian()public final void clearMedian()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearMedian in interface ISrvMonLongHistogramISrvMonLongHistogram.setMedian(long)public static final int getPct75FieldId()
public final void setPct75(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct75 in interface ISrvMonLongHistogramval - The value to set.public final void setPct75AsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct75AsObject in interface ISrvMonLongHistogramval - The value to set.public final long getPct75()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct75 in interface ISrvMonLongHistogrampublic final Long getPct75AsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct75AsObject in interface ISrvMonLongHistogrampublic final void setPct75From(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getPct75Field()
public final boolean hasPct75()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasPct75 in interface ISrvMonLongHistogramISrvMonLongHistogram.getPct75()public final void clearPct75()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearPct75 in interface ISrvMonLongHistogramISrvMonLongHistogram.setPct75(long)public static final int getPct90FieldId()
public final void setPct90(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct90 in interface ISrvMonLongHistogramval - The value to set.public final void setPct90AsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct90AsObject in interface ISrvMonLongHistogramval - The value to set.public final long getPct90()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct90 in interface ISrvMonLongHistogrampublic final Long getPct90AsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct90AsObject in interface ISrvMonLongHistogrampublic final void setPct90From(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getPct90Field()
public final boolean hasPct90()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasPct90 in interface ISrvMonLongHistogramISrvMonLongHistogram.getPct90()public final void clearPct90()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearPct90 in interface ISrvMonLongHistogramISrvMonLongHistogram.setPct90(long)public static final int getPct99FieldId()
public final void setPct99(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct99 in interface ISrvMonLongHistogramval - The value to set.public final void setPct99AsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct99AsObject in interface ISrvMonLongHistogramval - The value to set.public final long getPct99()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct99 in interface ISrvMonLongHistogrampublic final Long getPct99AsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct99AsObject in interface ISrvMonLongHistogrampublic final void setPct99From(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getPct99Field()
public final boolean hasPct99()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasPct99 in interface ISrvMonLongHistogramISrvMonLongHistogram.getPct99()public final void clearPct99()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearPct99 in interface ISrvMonLongHistogramISrvMonLongHistogram.setPct99(long)public static final int getPct999FieldId()
public final void setPct999(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct999 in interface ISrvMonLongHistogramval - The value to set.public final void setPct999AsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct999AsObject in interface ISrvMonLongHistogramval - The value to set.public final long getPct999()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct999 in interface ISrvMonLongHistogrampublic final Long getPct999AsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct999AsObject in interface ISrvMonLongHistogrampublic final void setPct999From(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getPct999Field()
public final boolean hasPct999()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasPct999 in interface ISrvMonLongHistogramISrvMonLongHistogram.getPct999()public final void clearPct999()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearPct999 in interface ISrvMonLongHistogramISrvMonLongHistogram.setPct999(long)public static final int getPct9999FieldId()
public final void setPct9999(long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct9999 in interface ISrvMonLongHistogramval - The value to set.public final void setPct9999AsObject(Long val)
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
setPct9999AsObject in interface ISrvMonLongHistogramval - The value to set.public final long getPct9999()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct9999 in interface ISrvMonLongHistogrampublic final Long getPct9999AsObject()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
getPct9999AsObject in interface ISrvMonLongHistogrampublic final void setPct9999From(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getPct9999Field()
public final boolean hasPct9999()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
hasPct9999 in interface ISrvMonLongHistogramISrvMonLongHistogram.getPct9999()public final void clearPct9999()
ISrvMonLongHistogramThe value may not be set if the sample size is 0.
clearPct9999 in interface ISrvMonLongHistogramISrvMonLongHistogram.setPct9999(long)public static final int getSamplesOverMaxFieldId()
public final void setSamplesOverMax(long val)
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogramval - The value to set.public final void setSamplesOverMaxAsObject(Long val)
ISrvMonLongHistogramWhen 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.
setSamplesOverMaxAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getSamplesOverMax()
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogrampublic final Long getSamplesOverMaxAsObject()
ISrvMonLongHistogramWhen 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.
getSamplesOverMaxAsObject in interface ISrvMonLongHistogrampublic final void setSamplesOverMaxFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getSamplesOverMaxField()
public final boolean hasSamplesOverMax()
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogramISrvMonLongHistogram.getSamplesOverMax()public final void clearSamplesOverMax()
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogramISrvMonLongHistogram.setSamplesOverMax(long)public static final int getSamplesUnderMinFieldId()
public final void setSamplesUnderMin(long val)
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogramval - The value to set.public final void setSamplesUnderMinAsObject(Long val)
ISrvMonLongHistogramWhen 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.
setSamplesUnderMinAsObject in interface ISrvMonLongHistogramval - The value to set.public final long getSamplesUnderMin()
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogrampublic final Long getSamplesUnderMinAsObject()
ISrvMonLongHistogramWhen 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.
getSamplesUnderMinAsObject in interface ISrvMonLongHistogrampublic final void setSamplesUnderMinFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getSamplesUnderMinField()
public final boolean hasSamplesUnderMin()
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogramISrvMonLongHistogram.getSamplesUnderMin()public final void clearSamplesUnderMin()
ISrvMonLongHistogramWhen 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 ISrvMonLongHistogramISrvMonLongHistogram.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 SrvMonLongHistogram deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonLongHistogram deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonLongHistogram deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonLongHistogram deserializeFromByteArray(byte[] array)
public final SrvMonLongHistogram deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonLongHistogram deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonLongHistogram deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonLongHistogram deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncerdesync in interface com.neeve.xbuf.IXbufDesyncerbuffer - 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 SrvMonLongHistogram init()
UtlPool.ItemThis 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<SrvMonLongHistogram>public final SrvMonLongHistogram setPool(UtlPool<SrvMonLongHistogram> pool)
UtlPool.ItemThis 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<SrvMonLongHistogram>public final UtlPool<SrvMonLongHistogram> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool in interface UtlPool.Item<SrvMonLongHistogram>UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)public final boolean isReferenceCounted()
public final SrvMonLongHistogram acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy() method in that:
public final SrvMonLongHistogram 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 SrvMonLongHistogram's embedded entity fields.
The returned copy will be writeable even if this SrvMonLongHistogram is read only.
public final void copyInto(SrvMonLongHistogram 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 SrvMonLongHistogram's embedded entity fields.
The returned copy will be writeable even if this SrvMonLongHistogram is read only.
copy - The target into which to copy.public final boolean isValid()
IRogValidatableisValid in interface IRogValidatablepublic final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatablegetValidationErrors in interface IRogValidatableresults - 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.