com.neeve.server.mon
Class SrvMonSysGCCollectorStats

java.lang.Object
  extended by com.neeve.server.mon.SrvMonSysGCCollectorStats
All Implemented Interfaces:
IRogValidatable, ISrvMonSysGCCollectorStats, UtlPool.Item<SrvMonSysGCCollectorStats>, com.neeve.xbuf.IXbufDesyncer

@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
extends Object
implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonSysGCCollectorStats>, ISrvMonSysGCCollectorStats

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.
<T extends XString>
T
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

EMPTY_ARRAY

public static final SrvMonSysGCCollectorStats[] EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.

Constructor Detail

SrvMonSysGCCollectorStats

public SrvMonSysGCCollectorStats()

SrvMonSysGCCollectorStats

public SrvMonSysGCCollectorStats(int initialBackingBufferSize)
Method Detail

create

public static SrvMonSysGCCollectorStats create()

createFromSerializedXbufContainer

public static SrvMonSysGCCollectorStats createFromSerializedXbufContainer(byte[] serializedContainer,
                                                                          com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

createFromSerializedXbufContainer

public static SrvMonSysGCCollectorStats createFromSerializedXbufContainer(byte[] serializedContainer)

createFrom

public static SrvMonSysGCCollectorStats createFrom(byte[] serializedContainer,
                                                   com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

createFrom

public static SrvMonSysGCCollectorStats createFrom(byte[] serializedContainer)

setDesyncPolicy

public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)

getDesyncPolicy

public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()

setFieldInterest

public static final void setFieldInterest(List<Integer> fieldIds)

clearContent

public final void clearContent()

syncFieldBitmask

public final void syncFieldBitmask()

desyncFieldBitmask

public final void desyncFieldBitmask()

getBackingBuffer

public final PktBuffer getBackingBuffer()

optimizeFor

public static final void optimizeFor(int val)

setAsReadOnly

public final void setAsReadOnly()

getIsReadOnly

public final boolean getIsReadOnly()

getXRogTypeFieldId

public static final int getXRogTypeFieldId()
Get the field id for 'xRogType'

This method can be used to set field interests.

See Also:
getXRogType()

setXRogType

public final void setXRogType(short val)

getXRogType

public final short getXRogType()

setXRogTypeFrom

public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)

getXRogTypeField

public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()

hasXRogType

public final boolean hasXRogType()

clearXRogType

public final void clearXRogType()

getCollectionCountFieldId

public static final int getCollectionCountFieldId()
Get the field id for 'collectionCount'

This method can be used to set field interests.

See Also:
getCollectionCount()

setCollectionCount

public final void setCollectionCount(long val)
Description copied from interface: ISrvMonSysGCCollectorStats
Sets the value of 'collectionCount'

Field Description

The total number of collections that have occurred.

A value -1 indicates that the collection count is undefined for this collector.

Specified by:
setCollectionCount in interface ISrvMonSysGCCollectorStats
Parameters:
val - The value to set.

getCollectionCount

public final long getCollectionCount()
Description copied from interface: ISrvMonSysGCCollectorStats
Gets the value of 'collectionCount'

Field Description

The total number of collections that have occurred.

A value -1 indicates that the collection count is undefined for this collector.

Specified by:
getCollectionCount in interface ISrvMonSysGCCollectorStats
Returns:
The total number of collections that have occurred.

setCollectionCountFrom

public final void setCollectionCountFrom(com.neeve.xbuf.XbufVariableLongField val)

getCollectionCountField

public final com.neeve.xbuf.XbufVariableLongField getCollectionCountField()

hasCollectionCount

public final boolean hasCollectionCount()
Description copied from interface: ISrvMonSysGCCollectorStats
Checks for the presence of 'collectionCount'

Field Description

The total number of collections that have occurred.

A value -1 indicates that the collection count is undefined for this collector.

Specified by:
hasCollectionCount in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.getCollectionCount()

clearCollectionCount

public final void clearCollectionCount()
Description copied from interface: ISrvMonSysGCCollectorStats
Clears the value of 'collectionCount'

Field Description

The total number of collections that have occurred.

A value -1 indicates that the collection count is undefined for this collector.

Specified by:
clearCollectionCount in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.setCollectionCount(long)

getCollectionTimeFieldId

public static final int getCollectionTimeFieldId()
Get the field id for 'collectionTime'

This method can be used to set field interests.

See Also:
getCollectionTime()

setCollectionTime

public final void setCollectionTime(long val)
Description copied from interface: ISrvMonSysGCCollectorStats
Sets the value of 'collectionTime'

Field Description

The approximate accumulated collection elapsed time in milliseconds.

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.

Specified by:
setCollectionTime in interface ISrvMonSysGCCollectorStats
Parameters:
val - The value to set.

getCollectionTime

public final long getCollectionTime()
Description copied from interface: ISrvMonSysGCCollectorStats
Gets the value of 'collectionTime'

Field Description

The approximate accumulated collection elapsed time in milliseconds.

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.

Specified by:
getCollectionTime in interface ISrvMonSysGCCollectorStats
Returns:
The approximate accumulated collection elapsed time in milliseconds.

setCollectionTimeFrom

public final void setCollectionTimeFrom(com.neeve.xbuf.XbufVariableLongField val)

getCollectionTimeField

public final com.neeve.xbuf.XbufVariableLongField getCollectionTimeField()

hasCollectionTime

public final boolean hasCollectionTime()
Description copied from interface: ISrvMonSysGCCollectorStats
Checks for the presence of 'collectionTime'

Field Description

The approximate accumulated collection elapsed time in milliseconds.

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.

Specified by:
hasCollectionTime in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.getCollectionTime()

clearCollectionTime

public final void clearCollectionTime()
Description copied from interface: ISrvMonSysGCCollectorStats
Clears the value of 'collectionTime'

Field Description

The approximate accumulated collection elapsed time in milliseconds.

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.

Specified by:
clearCollectionTime in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.setCollectionTime(long)

getCollectorNameFieldId

public static final int getCollectorNameFieldId()
Get the field id for 'collectorName'

This method can be used to set field interests.

See Also:
getCollectorName()

setCollectorName

public final void setCollectorName(String val)
Description copied from interface: ISrvMonSysGCCollectorStats
Sets the value of 'collectorName'

Field Description

The name of the collector that performed the gc.

Specified by:
setCollectorName in interface ISrvMonSysGCCollectorStats
Parameters:
val - The value to set.

getCollectorName

public final String getCollectorName()
Description copied from interface: ISrvMonSysGCCollectorStats
Gets the value of 'collectorName'

Field Description

The name of the collector that performed the gc.

Specified by:
getCollectorName in interface ISrvMonSysGCCollectorStats
Returns:
The name of the collector that performed the gc.

lendCollectorName

public final void lendCollectorName(XString val)
Description copied from interface: ISrvMonSysGCCollectorStats
Sets the value of 'collectorName'

Field Description

The name of the collector that performed the gc.

Specified by:
lendCollectorName in interface ISrvMonSysGCCollectorStats
Parameters:
val - The value to set.

setCollectorNameFrom

public final void setCollectorNameFrom(long val)
Description copied from interface: ISrvMonSysGCCollectorStats
Sets the value of this String field to the given numeric value.

Field Description

The name of the collector that performed the gc.

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.

Specified by:
setCollectorNameFrom in interface ISrvMonSysGCCollectorStats

getCollectorNameTo

public final <T extends XString> T getCollectorNameTo(XString.Factory<T> factory)
Description copied from interface: ISrvMonSysGCCollectorStats
Copies the value of this String field into a new XString from the given factory.

Field Description

The name of the collector that performed the gc.

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;

Specified by:
getCollectorNameTo in interface ISrvMonSysGCCollectorStats
Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.

setCollectorNameFrom

public final void setCollectorNameFrom(XString val)
Description copied from interface: ISrvMonSysGCCollectorStats
Copies the provided XString value into this object's 'collectorName'.

Field Description

The name of the collector that performed the gc.

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.

Specified by:
setCollectorNameFrom in interface ISrvMonSysGCCollectorStats

getCollectorNameTo

public final void getCollectorNameTo(XString val)
Description copied from interface: ISrvMonSysGCCollectorStats
Copies the value of 'collectorName' into the provided XString.

Field Description

The name of the collector that performed the gc.

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.

Specified by:
getCollectorNameTo in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.getCollectorName()

getCollectorNameUnsafe

public final XString getCollectorNameUnsafe()
Description copied from interface: ISrvMonSysGCCollectorStats
Gets the raw value of 'collectorName'.

Field Description

The name of the collector that performed the gc.

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.

Specified by:
getCollectorNameUnsafe in interface ISrvMonSysGCCollectorStats
Returns:
the field's raw value
See Also:
ISrvMonSysGCCollectorStats.getCollectorName()

setCollectorNameFrom

public final void setCollectorNameFrom(com.neeve.xbuf.XbufStringField val)

getCollectorNameField

public final com.neeve.xbuf.XbufStringField getCollectorNameField()

hasCollectorName

public final boolean hasCollectorName()
Description copied from interface: ISrvMonSysGCCollectorStats
Checks for the presence of 'collectorName'

Field Description

The name of the collector that performed the gc.

Specified by:
hasCollectorName in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.getCollectorName()

clearCollectorName

public final void clearCollectorName()
Description copied from interface: ISrvMonSysGCCollectorStats
Clears the value of 'collectorName'

Field Description

The name of the collector that performed the gc.

Specified by:
clearCollectorName in interface ISrvMonSysGCCollectorStats
See Also:
ISrvMonSysGCCollectorStats.setCollectorName(String)

isDirty

public final boolean isDirty()

createSchema

public static final com.neeve.xbuf.XbufSchema createSchema()

serializeToByteArray

public final byte[] serializeToByteArray()

serializeToByteBuffer

public final ByteBuffer serializeToByteBuffer()

serializeToIOBuffer

public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)

isBufferBacked

public final boolean isBufferBacked()

getSerializeToNativeLength

public final int getSerializeToNativeLength()

serializeToNative

public final int serializeToNative(long address,
                                   int addressOffset)

deserializeFromIOElasticBuffer

public final SrvMonSysGCCollectorStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
                                                                      int offset,
                                                                      int length,
                                                                      com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromIOElasticBuffer

public final SrvMonSysGCCollectorStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
                                                                      int offset,
                                                                      int length)

deserializeFromByteArray

public final SrvMonSysGCCollectorStats deserializeFromByteArray(byte[] array,
                                                                com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromByteArray

public final SrvMonSysGCCollectorStats deserializeFromByteArray(byte[] array)

deserializeFromByteBuffer

public final SrvMonSysGCCollectorStats deserializeFromByteBuffer(ByteBuffer buffer,
                                                                 com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromByteBuffer

public final SrvMonSysGCCollectorStats deserializeFromByteBuffer(ByteBuffer buffer)

deserializeFromNative

public final SrvMonSysGCCollectorStats deserializeFromNative(long address,
                                                             int offset,
                                                             int length,
                                                             com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromNative

public final SrvMonSysGCCollectorStats deserializeFromNative(long address,
                                                             int offset,
                                                             int length)

sync

public final void sync()

desync

public final int desync(PktBuffer buffer,
                        int pos,
                        boolean frameOnly)
Specified by:
desync in interface com.neeve.xbuf.IXbufDesyncer

init

public final SrvMonSysGCCollectorStats init()
Description copied from interface: UtlPool.Item
Initialize an 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.

Specified by:
init in interface UtlPool.Item<SrvMonSysGCCollectorStats>
Returns:
Return 'this' object for method invocation chaining.

setPool

public final SrvMonSysGCCollectorStats setPool(UtlPool<SrvMonSysGCCollectorStats> pool)
Description copied from interface: UtlPool.Item
Set a pool item's pool.

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.

Specified by:
setPool in interface UtlPool.Item<SrvMonSysGCCollectorStats>
Returns:
Return 'this' object for method invocation chaining.

getPool

public final UtlPool<SrvMonSysGCCollectorStats> getPool()
Description copied from interface: UtlPool.Item
Get a pool item's pool.

This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool)

Specified by:
getPool in interface UtlPool.Item<SrvMonSysGCCollectorStats>
Returns:
the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool)

isReferenceCounted

public final boolean isReferenceCounted()

acquire

public final SrvMonSysGCCollectorStats acquire()

getOwnerCount

public final int getOwnerCount()

dispose

public final void dispose()

clone

public final Object clone()
Creates a clone of this object.

This method differs from the copy() method in that:

Overrides:
clone in class Object

copy

public final SrvMonSysGCCollectorStats copy()
Creates a copy of this SrvMonSysGCCollectorStats.

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.

Xbuf Pass-through Fields

When backed by a buffer, this operation copies the underlying buffer which means that if the message was deserialized from with unrecognized fields, such fields will be preserved in the copy as well.

Returns:
The copied entity.

copyInto

public final void copyInto(SrvMonSysGCCollectorStats copy)
Copies the contents of this SrvMonSysGCCollectorStats into the target.

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.

Xbuf Pass-through Fields

When backed by a buffer, this operation copies the underlying buffer which means that if the message was deserialized from with unrecognized fields, such fields will be preserved in the copy as well.

Parameters:
copy - The target into which to copy.

isValid

public final boolean isValid()
Description copied from interface: IRogValidatable
Tests if this object has any validation errors.

Specified by:
isValid in interface IRogValidatable

getValidationErrors

public final void getValidationErrors(List<XString> results,
                                      String errorPrefix)
Description copied from interface: IRogValidatable
Collects validation errors into the provided list. It is illegal for the caller to hold onto the List of XStrings beyond the lifespace of this object.

Specified by:
getValidationErrors in interface IRogValidatable
Parameters:
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.

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.