|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.server.mon.SrvMonUserGaugeStat
@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Wed Mar 28 10:54:31 EDT 2018") @AdmGenerated(encoding="Xbuf", compatLevel="3.8.0", admVersion="nvx-adm v3.7.265 (build 0)", date="3/28/18 10:54 AM", buildInfo="nvx-talon-3.7.265 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonFactory.class, vfid=32, ofid=32, typeId=221) public final class SrvMonUserGaugeStat
An application defined gauge statistic. A gauge represents a value at the time of a statistics collection.
The value for a Gauge is based on the value of its gaugeType. The gaugeType should be examined to determine which getXXXValue method to call.
Nested Class Summary | |
---|---|
static class |
SrvMonUserGaugeStat.Field
The SrvMonUserGaugeStat xbuf field (used internally when this entity is used as a field of another entity). |
static class |
SrvMonUserGaugeStat.ListField
The SrvMonUserGaugeStat list field (used internally when this entity is used as an array field of another entity). |
Field Summary | |
---|---|
static SrvMonUserGaugeStat[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
Constructor Summary | |
---|---|
SrvMonUserGaugeStat()
|
|
SrvMonUserGaugeStat(int initialBackingBufferSize)
|
Method Summary | ||
---|---|---|
SrvMonUserGaugeStat |
acquire()
|
|
void |
clearBooleanValue()
Clears the value of 'booleanValue' Field Description The value for a BOOLEAN gauge |
|
void |
clearByteValue()
Clears the value of 'byteValue' Field Description The value for a BYTE gauge |
|
void |
clearCharValue()
Clears the value of 'charValue' Field Description The value for a CHAR gauge |
|
void |
clearContent()
|
|
void |
clearDoubleValue()
Clears the value of 'doubleValue' Field Description The value for a DOUBLE gauge |
|
void |
clearFloatValue()
Clears the value of 'floatValue' Field Description The value for a FLOAT gauge |
|
void |
clearGuageType()
Clears the value of 'guageType' Field Description The name of the gauge value |
|
void |
clearIntValue()
Clears the value of 'intValue' Field Description The value for a INT gauge |
|
void |
clearLongValue()
Clears the value of 'longValue' Field Description The value for a LONG gauge |
|
void |
clearName()
Clears the value of 'name' Field Description The name of the gauge statistic |
|
void |
clearShortValue()
Clears the value of 'shortValue' Field Description The value for a SHORT gauge |
|
void |
clearStringValue()
Clears the value of 'stringValue' Field Description The value for a STRING gauge |
|
void |
clearXRogType()
|
|
Object |
clone()
Creates a clone of this object. |
|
SrvMonUserGaugeStat |
copy()
Creates a copy of this SrvMonUserGaugeStat. |
|
void |
copyInto(SrvMonUserGaugeStat copy)
Copies the contents of this SrvMonUserGaugeStat into the target. |
|
static SrvMonUserGaugeStat |
create()
|
|
static SrvMonUserGaugeStat |
createFrom(byte[] serializedContainer)
|
|
static SrvMonUserGaugeStat |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
static SrvMonUserGaugeStat |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
|
static SrvMonUserGaugeStat |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
|
SrvMonUserGaugeStat |
deserializeFromByteArray(byte[] array)
|
|
SrvMonUserGaugeStat |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
SrvMonUserGaugeStat |
deserializeFromByteBuffer(ByteBuffer buffer)
|
|
SrvMonUserGaugeStat |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
SrvMonUserGaugeStat |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length)
|
|
SrvMonUserGaugeStat |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
SrvMonUserGaugeStat |
deserializeFromNative(long address,
int offset,
int length)
|
|
SrvMonUserGaugeStat |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
|
|
void |
desyncFieldBitmask()
|
|
void |
dispose()
|
|
PktBuffer |
getBackingBuffer()
|
|
boolean |
getBooleanValue()
Gets the value of 'booleanValue' Field Description The value for a BOOLEAN gauge |
|
com.neeve.xbuf.XbufVariableBooleanField |
getBooleanValueField()
|
|
static int |
getBooleanValueFieldId()
Get the field id for 'booleanValue' This method can be used to set field interests. |
|
byte |
getByteValue()
Gets the value of 'byteValue' Field Description The value for a BYTE gauge |
|
com.neeve.xbuf.XbufVariableByteField |
getByteValueField()
|
|
static int |
getByteValueFieldId()
Get the field id for 'byteValue' This method can be used to set field interests. |
|
char |
getCharValue()
Gets the value of 'charValue' Field Description The value for a CHAR gauge |
|
com.neeve.xbuf.XbufVariableCharField |
getCharValueField()
|
|
static int |
getCharValueFieldId()
Get the field id for 'charValue' This method can be used to set field interests. |
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
|
double |
getDoubleValue()
Gets the value of 'doubleValue' Field Description The value for a DOUBLE gauge |
|
com.neeve.xbuf.XbufDoubleField |
getDoubleValueField()
|
|
static int |
getDoubleValueFieldId()
Get the field id for 'doubleValue' This method can be used to set field interests. |
|
float |
getFloatValue()
Gets the value of 'floatValue' Field Description The value for a FLOAT gauge |
|
com.neeve.xbuf.XbufFloatField |
getFloatValueField()
|
|
static int |
getFloatValueFieldId()
Get the field id for 'floatValue' This method can be used to set field interests. |
|
SrvMonGaugeType |
getGuageType()
Gets the value of 'guageType' Field Description The name of the gauge value |
|
com.neeve.xbuf.XbufVariableEnumField<SrvMonGaugeType> |
getGuageTypeField()
|
|
static int |
getGuageTypeFieldId()
Get the field id for 'guageType' This method can be used to set field interests. |
|
int |
getIntValue()
Gets the value of 'intValue' Field Description The value for a INT gauge |
|
com.neeve.xbuf.XbufVariableIntField |
getIntValueField()
|
|
static int |
getIntValueFieldId()
Get the field id for 'intValue' This method can be used to set field interests. |
|
boolean |
getIsReadOnly()
|
|
long |
getLongValue()
Gets the value of 'longValue' Field Description The value for a LONG gauge |
|
com.neeve.xbuf.XbufVariableLongField |
getLongValueField()
|
|
static int |
getLongValueFieldId()
Get the field id for 'longValue' This method can be used to set field interests. |
|
String |
getName()
Gets the value of 'name' Field Description The name of the gauge statistic |
|
com.neeve.xbuf.XbufStringField |
getNameField()
|
|
static int |
getNameFieldId()
Get the field id for 'name' This method can be used to set field interests. |
|
|
getNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getNameTo(XString val)
Copies the value of 'name' into the provided XString. |
|
XString |
getNameUnsafe()
Gets the raw value of 'name'. |
|
int |
getOwnerCount()
|
|
UtlPool<SrvMonUserGaugeStat> |
getPool()
Get a pool item's pool. |
|
int |
getSerializeToNativeLength()
|
|
short |
getShortValue()
Gets the value of 'shortValue' Field Description The value for a SHORT gauge |
|
com.neeve.xbuf.XbufVariableShortField |
getShortValueField()
|
|
static int |
getShortValueFieldId()
Get the field id for 'shortValue' This method can be used to set field interests. |
|
String |
getStringValue()
Gets the value of 'stringValue' Field Description The value for a STRING gauge |
|
com.neeve.xbuf.XbufStringField |
getStringValueField()
|
|
static int |
getStringValueFieldId()
Get the field id for 'stringValue' This method can be used to set field interests. |
|
|
getStringValueTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getStringValueTo(XString val)
Copies the value of 'stringValue' into the provided XString. |
|
XString |
getStringValueUnsafe()
Gets the raw value of 'stringValue'. |
|
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list. |
|
short |
getXRogType()
|
|
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField()
|
|
static int |
getXRogTypeFieldId()
Get the field id for 'xRogType' This method can be used to set field interests. |
|
boolean |
hasBooleanValue()
Checks for the presence of 'booleanValue' Field Description The value for a BOOLEAN gauge |
|
boolean |
hasByteValue()
Checks for the presence of 'byteValue' Field Description The value for a BYTE gauge |
|
boolean |
hasCharValue()
Checks for the presence of 'charValue' Field Description The value for a CHAR gauge |
|
boolean |
hasDoubleValue()
Checks for the presence of 'doubleValue' Field Description The value for a DOUBLE gauge |
|
boolean |
hasFloatValue()
Checks for the presence of 'floatValue' Field Description The value for a FLOAT gauge |
|
boolean |
hasGuageType()
Checks for the presence of 'guageType' Field Description The name of the gauge value |
|
boolean |
hasIntValue()
Checks for the presence of 'intValue' Field Description The value for a INT gauge |
|
boolean |
hasLongValue()
Checks for the presence of 'longValue' Field Description The value for a LONG gauge |
|
boolean |
hasName()
Checks for the presence of 'name' Field Description The name of the gauge statistic |
|
boolean |
hasShortValue()
Checks for the presence of 'shortValue' Field Description The value for a SHORT gauge |
|
boolean |
hasStringValue()
Checks for the presence of 'stringValue' Field Description The value for a STRING gauge |
|
boolean |
hasXRogType()
|
|
SrvMonUserGaugeStat |
init()
Initialize an item. |
|
boolean |
isBufferBacked()
|
|
boolean |
isDirty()
|
|
boolean |
isReferenceCounted()
|
|
boolean |
isValid()
Tests if this object has any validation errors. |
|
void |
lendName(XString val)
Sets the value of 'name' Field Description The name of the gauge statistic |
|
void |
lendStringValue(XString val)
Sets the value of 'stringValue' Field Description The value for a STRING gauge |
|
static void |
optimizeFor(int val)
|
|
byte[] |
serializeToByteArray()
|
|
ByteBuffer |
serializeToByteBuffer()
|
|
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
|
|
int |
serializeToNative(long address,
int addressOffset)
|
|
void |
setAsReadOnly()
|
|
void |
setBooleanValue(boolean val)
Sets the value of 'booleanValue' Field Description The value for a BOOLEAN gauge |
|
void |
setBooleanValueFrom(com.neeve.xbuf.XbufVariableBooleanField val)
|
|
void |
setByteValue(byte val)
Sets the value of 'byteValue' Field Description The value for a BYTE gauge |
|
void |
setByteValueFrom(com.neeve.xbuf.XbufVariableByteField val)
|
|
void |
setCharValue(char val)
Sets the value of 'charValue' Field Description The value for a CHAR gauge |
|
void |
setCharValueFrom(com.neeve.xbuf.XbufVariableCharField val)
|
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
|
void |
setDoubleValue(double val)
Sets the value of 'doubleValue' Field Description The value for a DOUBLE gauge |
|
void |
setDoubleValueFrom(com.neeve.xbuf.XbufDoubleField val)
|
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
|
void |
setFloatValue(float val)
Sets the value of 'floatValue' Field Description The value for a FLOAT gauge |
|
void |
setFloatValueFrom(com.neeve.xbuf.XbufFloatField val)
|
|
void |
setGuageType(SrvMonGaugeType val)
Sets the value of 'guageType' Field Description The name of the gauge value |
|
void |
setGuageTypeFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonGaugeType> val)
|
|
void |
setIntValue(int val)
Sets the value of 'intValue' Field Description The value for a INT gauge |
|
void |
setIntValueFrom(com.neeve.xbuf.XbufVariableIntField val)
|
|
void |
setLongValue(long val)
Sets the value of 'longValue' Field Description The value for a LONG gauge |
|
void |
setLongValueFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setName(String val)
Sets the value of 'name' Field Description The name of the gauge statistic |
|
void |
setNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setNameFrom(XString val)
Copies the provided XString value into this object's 'name'. |
|
SrvMonUserGaugeStat |
setPool(UtlPool<SrvMonUserGaugeStat> pool)
Set a pool item's pool. |
|
void |
setShortValue(short val)
Sets the value of 'shortValue' Field Description The value for a SHORT gauge |
|
void |
setShortValueFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
void |
setStringValue(String val)
Sets the value of 'stringValue' Field Description The value for a STRING gauge |
|
void |
setStringValueFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setStringValueFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setStringValueFrom(XString val)
Copies the provided XString value into this object's 'stringValue'. |
|
void |
setXRogType(short val)
|
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
|
|
void |
sync()
|
|
void |
syncFieldBitmask()
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SrvMonUserGaugeStat[] EMPTY_ARRAY
Constructor Detail |
---|
public SrvMonUserGaugeStat()
public SrvMonUserGaugeStat(int initialBackingBufferSize)
Method Detail |
---|
public static SrvMonUserGaugeStat create()
public static SrvMonUserGaugeStat createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonUserGaugeStat createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonUserGaugeStat createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonUserGaugeStat createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public static final void setFieldInterest(List<Integer> fieldIds)
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 static final int getXRogTypeFieldId()
This method can be used to set field interests.
getXRogType()
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 getGuageTypeFieldId()
This method can be used to set field interests.
getGuageType()
public final void setGuageType(SrvMonGaugeType val)
ISrvMonUserGaugeStat
setGuageType
in interface ISrvMonUserGaugeStat
val
- The value to set.public final void setGuageTypeFrom(com.neeve.xbuf.XbufVariableEnumField<SrvMonGaugeType> val)
public final com.neeve.xbuf.XbufVariableEnumField<SrvMonGaugeType> getGuageTypeField()
public final SrvMonGaugeType getGuageType()
ISrvMonUserGaugeStat
getGuageType
in interface ISrvMonUserGaugeStat
public final boolean hasGuageType()
ISrvMonUserGaugeStat
hasGuageType
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getGuageType()
public final void clearGuageType()
ISrvMonUserGaugeStat
clearGuageType
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setGuageType(SrvMonGaugeType)
public static final int getBooleanValueFieldId()
This method can be used to set field interests.
getBooleanValue()
public final void setBooleanValue(boolean val)
ISrvMonUserGaugeStat
setBooleanValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final boolean getBooleanValue()
ISrvMonUserGaugeStat
getBooleanValue
in interface ISrvMonUserGaugeStat
public final void setBooleanValueFrom(com.neeve.xbuf.XbufVariableBooleanField val)
public final com.neeve.xbuf.XbufVariableBooleanField getBooleanValueField()
public final boolean hasBooleanValue()
ISrvMonUserGaugeStat
hasBooleanValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getBooleanValue()
public final void clearBooleanValue()
ISrvMonUserGaugeStat
clearBooleanValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setBooleanValue(boolean)
public static final int getByteValueFieldId()
This method can be used to set field interests.
getByteValue()
public final void setByteValue(byte val)
ISrvMonUserGaugeStat
setByteValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final byte getByteValue()
ISrvMonUserGaugeStat
getByteValue
in interface ISrvMonUserGaugeStat
public final void setByteValueFrom(com.neeve.xbuf.XbufVariableByteField val)
public final com.neeve.xbuf.XbufVariableByteField getByteValueField()
public final boolean hasByteValue()
ISrvMonUserGaugeStat
hasByteValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getByteValue()
public final void clearByteValue()
ISrvMonUserGaugeStat
clearByteValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setByteValue(byte)
public static final int getCharValueFieldId()
This method can be used to set field interests.
getCharValue()
public final void setCharValue(char val)
ISrvMonUserGaugeStat
setCharValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final char getCharValue()
ISrvMonUserGaugeStat
getCharValue
in interface ISrvMonUserGaugeStat
public final void setCharValueFrom(com.neeve.xbuf.XbufVariableCharField val)
public final com.neeve.xbuf.XbufVariableCharField getCharValueField()
public final boolean hasCharValue()
ISrvMonUserGaugeStat
hasCharValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getCharValue()
public final void clearCharValue()
ISrvMonUserGaugeStat
clearCharValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setCharValue(char)
public static final int getShortValueFieldId()
This method can be used to set field interests.
getShortValue()
public final void setShortValue(short val)
ISrvMonUserGaugeStat
setShortValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final short getShortValue()
ISrvMonUserGaugeStat
getShortValue
in interface ISrvMonUserGaugeStat
public final void setShortValueFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getShortValueField()
public final boolean hasShortValue()
ISrvMonUserGaugeStat
hasShortValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getShortValue()
public final void clearShortValue()
ISrvMonUserGaugeStat
clearShortValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setShortValue(short)
public static final int getIntValueFieldId()
This method can be used to set field interests.
getIntValue()
public final void setIntValue(int val)
ISrvMonUserGaugeStat
setIntValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final int getIntValue()
ISrvMonUserGaugeStat
getIntValue
in interface ISrvMonUserGaugeStat
public final void setIntValueFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getIntValueField()
public final boolean hasIntValue()
ISrvMonUserGaugeStat
hasIntValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getIntValue()
public final void clearIntValue()
ISrvMonUserGaugeStat
clearIntValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setIntValue(int)
public static final int getLongValueFieldId()
This method can be used to set field interests.
getLongValue()
public final void setLongValue(long val)
ISrvMonUserGaugeStat
setLongValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final long getLongValue()
ISrvMonUserGaugeStat
getLongValue
in interface ISrvMonUserGaugeStat
public final void setLongValueFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getLongValueField()
public final boolean hasLongValue()
ISrvMonUserGaugeStat
hasLongValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getLongValue()
public final void clearLongValue()
ISrvMonUserGaugeStat
clearLongValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setLongValue(long)
public static final int getFloatValueFieldId()
This method can be used to set field interests.
getFloatValue()
public final void setFloatValue(float val)
ISrvMonUserGaugeStat
setFloatValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final float getFloatValue()
ISrvMonUserGaugeStat
getFloatValue
in interface ISrvMonUserGaugeStat
public final void setFloatValueFrom(com.neeve.xbuf.XbufFloatField val)
public final com.neeve.xbuf.XbufFloatField getFloatValueField()
public final boolean hasFloatValue()
ISrvMonUserGaugeStat
hasFloatValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getFloatValue()
public final void clearFloatValue()
ISrvMonUserGaugeStat
clearFloatValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setFloatValue(float)
public static final int getDoubleValueFieldId()
This method can be used to set field interests.
getDoubleValue()
public final void setDoubleValue(double val)
ISrvMonUserGaugeStat
setDoubleValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final double getDoubleValue()
ISrvMonUserGaugeStat
getDoubleValue
in interface ISrvMonUserGaugeStat
public final void setDoubleValueFrom(com.neeve.xbuf.XbufDoubleField val)
public final com.neeve.xbuf.XbufDoubleField getDoubleValueField()
public final boolean hasDoubleValue()
ISrvMonUserGaugeStat
hasDoubleValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getDoubleValue()
public final void clearDoubleValue()
ISrvMonUserGaugeStat
clearDoubleValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setDoubleValue(double)
public static final int getNameFieldId()
This method can be used to set field interests.
getName()
public final void setName(String val)
ISrvMonUserGaugeStat
setName
in interface ISrvMonUserGaugeStat
val
- The value to set.public final String getName()
ISrvMonUserGaugeStat
getName
in interface ISrvMonUserGaugeStat
public final void lendName(XString val)
ISrvMonUserGaugeStat
lendName
in interface ISrvMonUserGaugeStat
val
- The value to set.public final void setNameFrom(long val)
ISrvMonUserGaugeStat
NOTE:
This is the same as calling ISrvMonUserGaugeStat.setName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setNameFrom
in interface ISrvMonUserGaugeStat
public final <T extends XString> T getNameTo(XString.Factory<T> factory)
ISrvMonUserGaugeStat
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getNameTo
in interface ISrvMonUserGaugeStat
factory
- The factory from which to get the XString to copy into and return
null
.public final void setNameFrom(XString val)
ISrvMonUserGaugeStat
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUserGaugeStat.setName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setNameFrom
in interface ISrvMonUserGaugeStat
public final void getNameTo(XString val)
ISrvMonUserGaugeStat
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUserGaugeStat.getName()
bec
because it can avoid decoding the value into an String
.
getNameTo
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getName()
public final XString getNameUnsafe()
ISrvMonUserGaugeStat
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getNameUnsafe
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getName()
public final void setNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getNameField()
public final boolean hasName()
ISrvMonUserGaugeStat
hasName
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getName()
public final void clearName()
ISrvMonUserGaugeStat
clearName
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setName(String)
public static final int getStringValueFieldId()
This method can be used to set field interests.
getStringValue()
public final void setStringValue(String val)
ISrvMonUserGaugeStat
setStringValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final String getStringValue()
ISrvMonUserGaugeStat
getStringValue
in interface ISrvMonUserGaugeStat
public final void lendStringValue(XString val)
ISrvMonUserGaugeStat
lendStringValue
in interface ISrvMonUserGaugeStat
val
- The value to set.public final void setStringValueFrom(long val)
ISrvMonUserGaugeStat
NOTE:
This is the same as calling ISrvMonUserGaugeStat.setStringValue(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setStringValueFrom
in interface ISrvMonUserGaugeStat
public final <T extends XString> T getStringValueTo(XString.Factory<T> factory)
ISrvMonUserGaugeStat
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getStringValueTo
in interface ISrvMonUserGaugeStat
factory
- The factory from which to get the XString to copy into and return
null
.public final void setStringValueFrom(XString val)
ISrvMonUserGaugeStat
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUserGaugeStat.setStringValue(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setStringValueFrom
in interface ISrvMonUserGaugeStat
public final void getStringValueTo(XString val)
ISrvMonUserGaugeStat
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUserGaugeStat.getStringValue()
bec
because it can avoid decoding the value into an String
.
getStringValueTo
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getStringValue()
public final XString getStringValueUnsafe()
ISrvMonUserGaugeStat
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getStringValueUnsafe
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getStringValue()
public final void setStringValueFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getStringValueField()
public final boolean hasStringValue()
ISrvMonUserGaugeStat
hasStringValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.getStringValue()
public final void clearStringValue()
ISrvMonUserGaugeStat
clearStringValue
in interface ISrvMonUserGaugeStat
ISrvMonUserGaugeStat.setStringValue(String)
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 SrvMonUserGaugeStat deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonUserGaugeStat deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonUserGaugeStat deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonUserGaugeStat deserializeFromByteArray(byte[] array)
public final SrvMonUserGaugeStat deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonUserGaugeStat deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonUserGaugeStat deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonUserGaugeStat deserializeFromNative(long address, int offset, int length)
public final void sync()
public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
desync
in interface com.neeve.xbuf.IXbufDesyncer
public final SrvMonUserGaugeStat 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<SrvMonUserGaugeStat>
public final SrvMonUserGaugeStat setPool(UtlPool<SrvMonUserGaugeStat> 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<SrvMonUserGaugeStat>
public final UtlPool<SrvMonUserGaugeStat> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool
getPool
in interface UtlPool.Item<SrvMonUserGaugeStat>
UtlPool.Item.setPool(com.neeve.util.UtlPool)
public final boolean isReferenceCounted()
public final SrvMonUserGaugeStat acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy()
method in that:
clone
in class Object
public final SrvMonUserGaugeStat 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 SrvMonUserGaugeStat's embedded entity fields.
The returned copy will be writeable even if this SrvMonUserGaugeStat is read only.
public final void copyInto(SrvMonUserGaugeStat 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 SrvMonUserGaugeStat's embedded entity fields.
The returned copy will be writeable even if this SrvMonUserGaugeStat 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.public final String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |