|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.server.mon.SrvMonSysGCCollectorStats
@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=215) public final class SrvMonSysGCCollectorStats
Holds stats for a garbage collector.
Nested Class Summary | |
---|---|
static class |
SrvMonSysGCCollectorStats.Field
The SrvMonSysGCCollectorStats xbuf field (used internally when this entity is used as a field of another entity). |
static class |
SrvMonSysGCCollectorStats.ListField
The SrvMonSysGCCollectorStats list field (used internally when this entity is used as an array field of another entity). |
Field Summary | |
---|---|
static SrvMonSysGCCollectorStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
Constructor Summary | |
---|---|
SrvMonSysGCCollectorStats()
|
|
SrvMonSysGCCollectorStats(int initialBackingBufferSize)
|
Method Summary | ||
---|---|---|
SrvMonSysGCCollectorStats |
acquire()
|
|
void |
clearCollectionCount()
Clears the value of 'collectionCount' Field Description The total number of collections that have occurred. |
|
void |
clearCollectionTime()
Clears the value of 'collectionTime' Field Description The approximate accumulated collection elapsed time in milliseconds. |
|
void |
clearCollectorName()
Clears the value of 'collectorName' Field Description The name of the collector that performed the gc. |
|
void |
clearContent()
|
|
void |
clearXRogType()
|
|
Object |
clone()
Creates a clone of this object. |
|
SrvMonSysGCCollectorStats |
copy()
Creates a copy of this SrvMonSysGCCollectorStats. |
|
void |
copyInto(SrvMonSysGCCollectorStats copy)
Copies the contents of this SrvMonSysGCCollectorStats into the target. |
|
static SrvMonSysGCCollectorStats |
create()
|
|
static SrvMonSysGCCollectorStats |
createFrom(byte[] serializedContainer)
|
|
static SrvMonSysGCCollectorStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
static SrvMonSysGCCollectorStats |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
|
static SrvMonSysGCCollectorStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
|
SrvMonSysGCCollectorStats |
deserializeFromByteArray(byte[] array)
|
|
SrvMonSysGCCollectorStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
SrvMonSysGCCollectorStats |
deserializeFromByteBuffer(ByteBuffer buffer)
|
|
SrvMonSysGCCollectorStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
SrvMonSysGCCollectorStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length)
|
|
SrvMonSysGCCollectorStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
|
SrvMonSysGCCollectorStats |
deserializeFromNative(long address,
int offset,
int length)
|
|
SrvMonSysGCCollectorStats |
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()
|
|
long |
getCollectionCount()
Gets the value of 'collectionCount' Field Description The total number of collections that have occurred. |
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionCountField()
|
|
static int |
getCollectionCountFieldId()
Get the field id for 'collectionCount' This method can be used to set field interests. |
|
long |
getCollectionTime()
Gets the value of 'collectionTime' Field Description The approximate accumulated collection elapsed time in milliseconds. |
|
com.neeve.xbuf.XbufVariableLongField |
getCollectionTimeField()
|
|
static int |
getCollectionTimeFieldId()
Get the field id for 'collectionTime' This method can be used to set field interests. |
|
String |
getCollectorName()
Gets the value of 'collectorName' Field Description The name of the collector that performed the gc. |
|
com.neeve.xbuf.XbufStringField |
getCollectorNameField()
|
|
static int |
getCollectorNameFieldId()
Get the field id for 'collectorName' This method can be used to set field interests. |
|
|
getCollectorNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getCollectorNameTo(XString val)
Copies the value of 'collectorName' into the provided XString. |
|
XString |
getCollectorNameUnsafe()
Gets the raw value of 'collectorName'. |
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
|
boolean |
getIsReadOnly()
|
|
int |
getOwnerCount()
|
|
UtlPool<SrvMonSysGCCollectorStats> |
getPool()
Get a pool item's pool. |
|
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()
Get the field id for 'xRogType' This method can be used to set field interests. |
|
boolean |
hasCollectionCount()
Checks for the presence of 'collectionCount' Field Description The total number of collections that have occurred. |
|
boolean |
hasCollectionTime()
Checks for the presence of 'collectionTime' Field Description The approximate accumulated collection elapsed time in milliseconds. |
|
boolean |
hasCollectorName()
Checks for the presence of 'collectorName' Field Description The name of the collector that performed the gc. |
|
boolean |
hasXRogType()
|
|
SrvMonSysGCCollectorStats |
init()
Initialize an item. |
|
boolean |
isBufferBacked()
|
|
boolean |
isDirty()
|
|
boolean |
isReferenceCounted()
|
|
boolean |
isValid()
Tests if this object has any validation errors. |
|
void |
lendCollectorName(XString val)
Sets the value of 'collectorName' Field Description The name of the collector that performed the gc. |
|
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 |
setCollectionCount(long val)
Sets the value of 'collectionCount' Field Description The total number of collections that have occurred. |
|
void |
setCollectionCountFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setCollectionTime(long val)
Sets the value of 'collectionTime' Field Description The approximate accumulated collection elapsed time in milliseconds. |
|
void |
setCollectionTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
|
void |
setCollectorName(String val)
Sets the value of 'collectorName' Field Description The name of the collector that performed the gc. |
|
void |
setCollectorNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setCollectorNameFrom(com.neeve.xbuf.XbufStringField val)
|
|
void |
setCollectorNameFrom(XString val)
Copies the provided XString value into this object's 'collectorName'. |
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
|
SrvMonSysGCCollectorStats |
setPool(UtlPool<SrvMonSysGCCollectorStats> pool)
Set a pool item's pool. |
|
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 SrvMonSysGCCollectorStats[] EMPTY_ARRAY
Constructor Detail |
---|
public SrvMonSysGCCollectorStats()
public SrvMonSysGCCollectorStats(int initialBackingBufferSize)
Method Detail |
---|
public static SrvMonSysGCCollectorStats create()
public static SrvMonSysGCCollectorStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysGCCollectorStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysGCCollectorStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysGCCollectorStats 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 getCollectionCountFieldId()
This method can be used to set field interests.
getCollectionCount()
public final void setCollectionCount(long val)
ISrvMonSysGCCollectorStats
A value -1 indicates that the collection count is undefined for this collector.
setCollectionCount
in interface ISrvMonSysGCCollectorStats
val
- The value to set.public final long getCollectionCount()
ISrvMonSysGCCollectorStats
A value -1 indicates that the collection count is undefined for this collector.
getCollectionCount
in interface ISrvMonSysGCCollectorStats
public final void setCollectionCountFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionCountField()
public final boolean hasCollectionCount()
ISrvMonSysGCCollectorStats
A value -1 indicates that the collection count is undefined for this collector.
hasCollectionCount
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.getCollectionCount()
public final void clearCollectionCount()
ISrvMonSysGCCollectorStats
A value -1 indicates that the collection count is undefined for this collector.
clearCollectionCount
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.setCollectionCount(long)
public static final int getCollectionTimeFieldId()
This method can be used to set field interests.
getCollectionTime()
public final void setCollectionTime(long val)
ISrvMonSysGCCollectorStats
A value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
setCollectionTime
in interface ISrvMonSysGCCollectorStats
val
- The value to set.public final long getCollectionTime()
ISrvMonSysGCCollectorStats
A value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
getCollectionTime
in interface ISrvMonSysGCCollectorStats
public final void setCollectionTimeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCollectionTimeField()
public final boolean hasCollectionTime()
ISrvMonSysGCCollectorStats
A value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
hasCollectionTime
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.getCollectionTime()
public final void clearCollectionTime()
ISrvMonSysGCCollectorStats
A value of -1 indicates that the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This method may return the same value even if the collection count has been incremented if the collection elapsed time is very short.
clearCollectionTime
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.setCollectionTime(long)
public static final int getCollectorNameFieldId()
This method can be used to set field interests.
getCollectorName()
public final void setCollectorName(String val)
ISrvMonSysGCCollectorStats
setCollectorName
in interface ISrvMonSysGCCollectorStats
val
- The value to set.public final String getCollectorName()
ISrvMonSysGCCollectorStats
getCollectorName
in interface ISrvMonSysGCCollectorStats
public final void lendCollectorName(XString val)
ISrvMonSysGCCollectorStats
lendCollectorName
in interface ISrvMonSysGCCollectorStats
val
- The value to set.public final void setCollectorNameFrom(long val)
ISrvMonSysGCCollectorStats
NOTE:
This is the same as calling ISrvMonSysGCCollectorStats.setCollectorName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setCollectorNameFrom
in interface ISrvMonSysGCCollectorStats
public final <T extends XString> T getCollectorNameTo(XString.Factory<T> factory)
ISrvMonSysGCCollectorStats
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;
getCollectorNameTo
in interface ISrvMonSysGCCollectorStats
factory
- The factory from which to get the XString to copy into and return
null
.public final void setCollectorNameFrom(XString val)
ISrvMonSysGCCollectorStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonSysGCCollectorStats.setCollectorName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setCollectorNameFrom
in interface ISrvMonSysGCCollectorStats
public final void getCollectorNameTo(XString val)
ISrvMonSysGCCollectorStats
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonSysGCCollectorStats.getCollectorName()
bec
because it can avoid decoding the value into an String
.
getCollectorNameTo
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.getCollectorName()
public final XString getCollectorNameUnsafe()
ISrvMonSysGCCollectorStats
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.
getCollectorNameUnsafe
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.getCollectorName()
public final void setCollectorNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getCollectorNameField()
public final boolean hasCollectorName()
ISrvMonSysGCCollectorStats
hasCollectorName
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.getCollectorName()
public final void clearCollectorName()
ISrvMonSysGCCollectorStats
clearCollectorName
in interface ISrvMonSysGCCollectorStats
ISrvMonSysGCCollectorStats.setCollectorName(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 SrvMonSysGCCollectorStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysGCCollectorStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromByteArray(byte[] array)
public final SrvMonSysGCCollectorStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysGCCollectorStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysGCCollectorStats 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 SrvMonSysGCCollectorStats 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<SrvMonSysGCCollectorStats>
public final SrvMonSysGCCollectorStats setPool(UtlPool<SrvMonSysGCCollectorStats> 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<SrvMonSysGCCollectorStats>
public final UtlPool<SrvMonSysGCCollectorStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool
getPool
in interface UtlPool.Item<SrvMonSysGCCollectorStats>
UtlPool.Item.setPool(com.neeve.util.UtlPool)
public final boolean isReferenceCounted()
public final SrvMonSysGCCollectorStats 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 SrvMonSysGCCollectorStats 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 SrvMonSysGCCollectorStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysGCCollectorStats is read only.
public final void copyInto(SrvMonSysGCCollectorStats 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 SrvMonSysGCCollectorStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysGCCollectorStats 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 |