|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.server.mon.SrvMonSysMemoryStats
@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=212) public final class SrvMonSysMemoryStats
Groups together stats related to the JVM's memory usage.
Nested Class Summary | |
---|---|
static class |
SrvMonSysMemoryStats.Field
The SrvMonSysMemoryStats xbuf field (used internally when this entity is used as a field of another entity). |
static class |
SrvMonSysMemoryStats.ListField
The SrvMonSysMemoryStats list field (used internally when this entity is used as an array field of another entity). |
Field Summary | |
---|---|
static SrvMonSysMemoryStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
Constructor Summary | |
---|---|
SrvMonSysMemoryStats()
|
|
SrvMonSysMemoryStats(int initialBackingBufferSize)
|
Method Summary | |
---|---|
SrvMonSysMemoryStats |
acquire()
|
void |
clearCommittedVirtualMemorySize()
Clears the value of 'committedVirtualMemorySize' Field Description The amount of virtual memory that is guaranteed to be available to the running process in bytes. |
void |
clearContent()
|
void |
clearFreePhysicalMemorySize()
Clears the value of 'freePhysicalMemorySize' Field Description The amount of free physical memory in bytes.. |
void |
clearFreeSwapSpaceSize()
Clears the value of 'freeSwapSpaceSize' Field Description The amount of free swap space in bytes. |
void |
clearHeapUsage()
Clears the value of 'heapUsage' Field Description Holds stats about heap memory usage. |
void |
clearNonHeapUsage()
Clears the value of 'nonHeapUsage' Field Description Holds stats about non heap memory usage. |
void |
clearTotalPhysicalMemorySize()
Clears the value of 'totalPhysicalMemorySize' Field Description The total amount of physical memory in bytes. |
void |
clearTotalSwapSpaceSize()
Clears the value of 'totalSwapSpaceSize' Field Description The total amount of swap space in bytes. |
void |
clearXRogType()
|
Object |
clone()
Creates a clone of this object. |
SrvMonSysMemoryStats |
copy()
Creates a copy of this SrvMonSysMemoryStats. |
void |
copyInto(SrvMonSysMemoryStats copy)
Copies the contents of this SrvMonSysMemoryStats into the target. |
static SrvMonSysMemoryStats |
create()
|
static SrvMonSysMemoryStats |
createFrom(byte[] serializedContainer)
|
static SrvMonSysMemoryStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
static SrvMonSysMemoryStats |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
static SrvMonSysMemoryStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
SrvMonSysMemoryStats |
deserializeFromByteArray(byte[] array)
|
SrvMonSysMemoryStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
SrvMonSysMemoryStats |
deserializeFromByteBuffer(ByteBuffer buffer)
|
SrvMonSysMemoryStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
SrvMonSysMemoryStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length)
|
SrvMonSysMemoryStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
SrvMonSysMemoryStats |
deserializeFromNative(long address,
int offset,
int length)
|
SrvMonSysMemoryStats |
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 |
getCommittedVirtualMemorySize()
Gets the value of 'committedVirtualMemorySize' Field Description The amount of virtual memory that is guaranteed to be available to the running process in bytes. |
com.neeve.xbuf.XbufVariableLongField |
getCommittedVirtualMemorySizeField()
|
static int |
getCommittedVirtualMemorySizeFieldId()
Get the field id for 'committedVirtualMemorySize' This method can be used to set field interests. |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
long |
getFreePhysicalMemorySize()
Gets the value of 'freePhysicalMemorySize' Field Description The amount of free physical memory in bytes.. |
com.neeve.xbuf.XbufVariableLongField |
getFreePhysicalMemorySizeField()
|
static int |
getFreePhysicalMemorySizeFieldId()
Get the field id for 'freePhysicalMemorySize' This method can be used to set field interests. |
long |
getFreeSwapSpaceSize()
Gets the value of 'freeSwapSpaceSize' Field Description The amount of free swap space in bytes. |
com.neeve.xbuf.XbufVariableLongField |
getFreeSwapSpaceSizeField()
|
static int |
getFreeSwapSpaceSizeFieldId()
Get the field id for 'freeSwapSpaceSize' This method can be used to set field interests. |
SrvMonSysMemoryUsage |
getHeapUsage()
Gets the value of 'heapUsage' Field Description Holds stats about heap memory usage. |
static int |
getHeapUsageFieldId()
Get the field id for 'heapUsage' This method can be used to set field interests. |
void |
getHeapUsageTo(SrvMonSysMemoryUsage to)
Copies the value of SrvMonSysMemoryUsage into the provided value. |
boolean |
getIsReadOnly()
|
SrvMonSysMemoryUsage |
getNonHeapUsage()
Gets the value of 'nonHeapUsage' Field Description Holds stats about non heap memory usage. |
static int |
getNonHeapUsageFieldId()
Get the field id for 'nonHeapUsage' This method can be used to set field interests. |
void |
getNonHeapUsageTo(SrvMonSysMemoryUsage to)
Copies the value of SrvMonSysMemoryUsage into the provided value. |
int |
getOwnerCount()
|
UtlPool<SrvMonSysMemoryStats> |
getPool()
Get a pool item's pool. |
int |
getSerializeToNativeLength()
|
long |
getTotalPhysicalMemorySize()
Gets the value of 'totalPhysicalMemorySize' Field Description The total amount of physical memory in bytes. |
com.neeve.xbuf.XbufVariableLongField |
getTotalPhysicalMemorySizeField()
|
static int |
getTotalPhysicalMemorySizeFieldId()
Get the field id for 'totalPhysicalMemorySize' This method can be used to set field interests. |
long |
getTotalSwapSpaceSize()
Gets the value of 'totalSwapSpaceSize' Field Description The total amount of swap space in bytes. |
com.neeve.xbuf.XbufVariableLongField |
getTotalSwapSpaceSizeField()
|
static int |
getTotalSwapSpaceSizeFieldId()
Get the field id for 'totalSwapSpaceSize' This method can be used to set field interests. |
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 |
hasCommittedVirtualMemorySize()
Checks for the presence of 'committedVirtualMemorySize' Field Description The amount of virtual memory that is guaranteed to be available to the running process in bytes. |
boolean |
hasFreePhysicalMemorySize()
Checks for the presence of 'freePhysicalMemorySize' Field Description The amount of free physical memory in bytes.. |
boolean |
hasFreeSwapSpaceSize()
Checks for the presence of 'freeSwapSpaceSize' Field Description The amount of free swap space in bytes. |
boolean |
hasHeapUsage()
Checks for the presence of 'heapUsage' Field Description Holds stats about heap memory usage. |
boolean |
hasNonHeapUsage()
Checks for the presence of 'nonHeapUsage' Field Description Holds stats about non heap memory usage. |
boolean |
hasTotalPhysicalMemorySize()
Checks for the presence of 'totalPhysicalMemorySize' Field Description The total amount of physical memory in bytes. |
boolean |
hasTotalSwapSpaceSize()
Checks for the presence of 'totalSwapSpaceSize' Field Description The total amount of swap space in bytes. |
boolean |
hasXRogType()
|
SrvMonSysMemoryStats |
init()
Initialize an item. |
boolean |
isBufferBacked()
|
boolean |
isDirty()
|
boolean |
isReferenceCounted()
|
boolean |
isValid()
Tests if this object has any validation errors. |
void |
lendHeapUsage(SrvMonSysMemoryUsage val)
'Lends' a reference of the SrvMonSysMemoryUsage to the message for this field. |
void |
lendNonHeapUsage(SrvMonSysMemoryUsage val)
'Lends' a reference of the SrvMonSysMemoryUsage to the message for this field. |
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 |
setCommittedVirtualMemorySize(long val)
Sets the value of 'committedVirtualMemorySize' Field Description The amount of virtual memory that is guaranteed to be available to the running process in bytes. |
void |
setCommittedVirtualMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
void |
setFreePhysicalMemorySize(long val)
Sets the value of 'freePhysicalMemorySize' Field Description The amount of free physical memory in bytes.. |
void |
setFreePhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setFreeSwapSpaceSize(long val)
Sets the value of 'freeSwapSpaceSize' Field Description The amount of free swap space in bytes. |
void |
setFreeSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setHeapUsage(SrvMonSysMemoryUsage val)
Sets the value of 'heapUsage' Field Description Holds stats about heap memory usage. |
void |
setNonHeapUsage(SrvMonSysMemoryUsage val)
Sets the value of 'nonHeapUsage' Field Description Holds stats about non heap memory usage. |
SrvMonSysMemoryStats |
setPool(UtlPool<SrvMonSysMemoryStats> pool)
Set a pool item's pool. |
void |
setTotalPhysicalMemorySize(long val)
Sets the value of 'totalPhysicalMemorySize' Field Description The total amount of physical memory in bytes. |
void |
setTotalPhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setTotalSwapSpaceSize(long val)
Sets the value of 'totalSwapSpaceSize' Field Description The total amount of swap space in bytes. |
void |
setTotalSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setXRogType(short val)
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
|
void |
sync()
|
void |
syncFieldBitmask()
|
SrvMonSysMemoryUsage |
takeHeapUsage()
'Takes' a reference to the heapUsage field from the message. |
SrvMonSysMemoryUsage |
takeNonHeapUsage()
'Takes' a reference to the nonHeapUsage field from the message. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SrvMonSysMemoryStats[] EMPTY_ARRAY
Constructor Detail |
---|
public SrvMonSysMemoryStats()
public SrvMonSysMemoryStats(int initialBackingBufferSize)
Method Detail |
---|
public static SrvMonSysMemoryStats create()
public static SrvMonSysMemoryStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonSysMemoryStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonSysMemoryStats 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 getCommittedVirtualMemorySizeFieldId()
This method can be used to set field interests.
getCommittedVirtualMemorySize()
public final void setCommittedVirtualMemorySize(long val)
ISrvMonSysMemoryStats
setCommittedVirtualMemorySize
in interface ISrvMonSysMemoryStats
val
- The value to set.public final long getCommittedVirtualMemorySize()
ISrvMonSysMemoryStats
getCommittedVirtualMemorySize
in interface ISrvMonSysMemoryStats
public final void setCommittedVirtualMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getCommittedVirtualMemorySizeField()
public final boolean hasCommittedVirtualMemorySize()
ISrvMonSysMemoryStats
hasCommittedVirtualMemorySize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getCommittedVirtualMemorySize()
public final void clearCommittedVirtualMemorySize()
ISrvMonSysMemoryStats
clearCommittedVirtualMemorySize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setCommittedVirtualMemorySize(long)
public static final int getFreePhysicalMemorySizeFieldId()
This method can be used to set field interests.
getFreePhysicalMemorySize()
public final void setFreePhysicalMemorySize(long val)
ISrvMonSysMemoryStats
setFreePhysicalMemorySize
in interface ISrvMonSysMemoryStats
val
- The value to set.public final long getFreePhysicalMemorySize()
ISrvMonSysMemoryStats
getFreePhysicalMemorySize
in interface ISrvMonSysMemoryStats
public final void setFreePhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFreePhysicalMemorySizeField()
public final boolean hasFreePhysicalMemorySize()
ISrvMonSysMemoryStats
hasFreePhysicalMemorySize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getFreePhysicalMemorySize()
public final void clearFreePhysicalMemorySize()
ISrvMonSysMemoryStats
clearFreePhysicalMemorySize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setFreePhysicalMemorySize(long)
public static final int getFreeSwapSpaceSizeFieldId()
This method can be used to set field interests.
getFreeSwapSpaceSize()
public final void setFreeSwapSpaceSize(long val)
ISrvMonSysMemoryStats
setFreeSwapSpaceSize
in interface ISrvMonSysMemoryStats
val
- The value to set.public final long getFreeSwapSpaceSize()
ISrvMonSysMemoryStats
getFreeSwapSpaceSize
in interface ISrvMonSysMemoryStats
public final void setFreeSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getFreeSwapSpaceSizeField()
public final boolean hasFreeSwapSpaceSize()
ISrvMonSysMemoryStats
hasFreeSwapSpaceSize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getFreeSwapSpaceSize()
public final void clearFreeSwapSpaceSize()
ISrvMonSysMemoryStats
clearFreeSwapSpaceSize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setFreeSwapSpaceSize(long)
public static final int getTotalPhysicalMemorySizeFieldId()
This method can be used to set field interests.
getTotalPhysicalMemorySize()
public final void setTotalPhysicalMemorySize(long val)
ISrvMonSysMemoryStats
setTotalPhysicalMemorySize
in interface ISrvMonSysMemoryStats
val
- The value to set.public final long getTotalPhysicalMemorySize()
ISrvMonSysMemoryStats
getTotalPhysicalMemorySize
in interface ISrvMonSysMemoryStats
public final void setTotalPhysicalMemorySizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTotalPhysicalMemorySizeField()
public final boolean hasTotalPhysicalMemorySize()
ISrvMonSysMemoryStats
hasTotalPhysicalMemorySize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getTotalPhysicalMemorySize()
public final void clearTotalPhysicalMemorySize()
ISrvMonSysMemoryStats
clearTotalPhysicalMemorySize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setTotalPhysicalMemorySize(long)
public static final int getTotalSwapSpaceSizeFieldId()
This method can be used to set field interests.
getTotalSwapSpaceSize()
public final void setTotalSwapSpaceSize(long val)
ISrvMonSysMemoryStats
setTotalSwapSpaceSize
in interface ISrvMonSysMemoryStats
val
- The value to set.public final long getTotalSwapSpaceSize()
ISrvMonSysMemoryStats
getTotalSwapSpaceSize
in interface ISrvMonSysMemoryStats
public final void setTotalSwapSpaceSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTotalSwapSpaceSizeField()
public final boolean hasTotalSwapSpaceSize()
ISrvMonSysMemoryStats
hasTotalSwapSpaceSize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getTotalSwapSpaceSize()
public final void clearTotalSwapSpaceSize()
ISrvMonSysMemoryStats
clearTotalSwapSpaceSize
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setTotalSwapSpaceSize(long)
public static final int getHeapUsageFieldId()
This method can be used to set field interests.
getHeapUsage()
public final void setHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStats
setHeapUsage
in interface ISrvMonSysMemoryStats
val
- The value to set.public final void lendHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendHeapUsage
in interface ISrvMonSysMemoryStats
val
- the value to 'lend' to lend.public final SrvMonSysMemoryUsage getHeapUsage()
ISrvMonSysMemoryStats
getHeapUsage
in interface ISrvMonSysMemoryStats
public final void getHeapUsageTo(SrvMonSysMemoryUsage to)
ISrvMonSysMemoryStats
IF the value is not set, then the contents of the provided SrvMonSysMemoryUsage are cleared.
getHeapUsageTo
in interface ISrvMonSysMemoryStats
to
- the value to copy intoSrvMonSysMemoryUsage.copyInto(SrvMonSysMemoryUsage)
public final SrvMonSysMemoryUsage takeHeapUsage()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeHeapUsage
in interface ISrvMonSysMemoryStats
null
if the field is not set.public final boolean hasHeapUsage()
ISrvMonSysMemoryStats
hasHeapUsage
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getHeapUsage()
public final void clearHeapUsage()
ISrvMonSysMemoryStats
clearHeapUsage
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setHeapUsage(SrvMonSysMemoryUsage)
public static final int getNonHeapUsageFieldId()
This method can be used to set field interests.
getNonHeapUsage()
public final void setNonHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStats
setNonHeapUsage
in interface ISrvMonSysMemoryStats
val
- The value to set.public final void lendNonHeapUsage(SrvMonSysMemoryUsage val)
ISrvMonSysMemoryStats
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendNonHeapUsage
in interface ISrvMonSysMemoryStats
val
- the value to 'lend' to lend.public final SrvMonSysMemoryUsage getNonHeapUsage()
ISrvMonSysMemoryStats
getNonHeapUsage
in interface ISrvMonSysMemoryStats
public final void getNonHeapUsageTo(SrvMonSysMemoryUsage to)
ISrvMonSysMemoryStats
IF the value is not set, then the contents of the provided SrvMonSysMemoryUsage are cleared.
getNonHeapUsageTo
in interface ISrvMonSysMemoryStats
to
- the value to copy intoSrvMonSysMemoryUsage.copyInto(SrvMonSysMemoryUsage)
public final SrvMonSysMemoryUsage takeNonHeapUsage()
ISrvMonSysMemoryStats
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeNonHeapUsage
in interface ISrvMonSysMemoryStats
null
if the field is not set.public final boolean hasNonHeapUsage()
ISrvMonSysMemoryStats
hasNonHeapUsage
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.getNonHeapUsage()
public final void clearNonHeapUsage()
ISrvMonSysMemoryStats
clearNonHeapUsage
in interface ISrvMonSysMemoryStats
ISrvMonSysMemoryStats.setNonHeapUsage(SrvMonSysMemoryUsage)
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 SrvMonSysMemoryStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonSysMemoryStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats deserializeFromByteArray(byte[] array)
public final SrvMonSysMemoryStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonSysMemoryStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonSysMemoryStats 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 SrvMonSysMemoryStats 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<SrvMonSysMemoryStats>
public final SrvMonSysMemoryStats setPool(UtlPool<SrvMonSysMemoryStats> 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<SrvMonSysMemoryStats>
public final UtlPool<SrvMonSysMemoryStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool
getPool
in interface UtlPool.Item<SrvMonSysMemoryStats>
UtlPool.Item.setPool(com.neeve.util.UtlPool)
public final boolean isReferenceCounted()
public final SrvMonSysMemoryStats 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 SrvMonSysMemoryStats 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 SrvMonSysMemoryStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryStats is read only.
public final void copyInto(SrvMonSysMemoryStats 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 SrvMonSysMemoryStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonSysMemoryStats 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 |