|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.server.mon.SrvMonAppStoreBindingICRSenderStats
@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=207) public final class SrvMonAppStoreBindingICRSenderStats
Holds stats for a store's Inter Cluster Replication sender.
Nested Class Summary | |
---|---|
static class |
SrvMonAppStoreBindingICRSenderStats.Field
The SrvMonAppStoreBindingICRSenderStats xbuf field (used internally when this entity is used as a field of another entity). |
static class |
SrvMonAppStoreBindingICRSenderStats.ListField
The SrvMonAppStoreBindingICRSenderStats list field (used internally when this entity is used as an array field of another entity). |
Field Summary | |
---|---|
static SrvMonAppStoreBindingICRSenderStats[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
Constructor Summary | |
---|---|
SrvMonAppStoreBindingICRSenderStats()
|
|
SrvMonAppStoreBindingICRSenderStats(int initialBackingBufferSize)
|
Method Summary | |
---|---|
SrvMonAppStoreBindingICRSenderStats |
acquire()
|
void |
clearContent()
|
void |
clearDetachedSend()
Clears the value of 'detachedSend' Field Description Indicates if the ICR sender is operating in detached mode. |
void |
clearDisruptorStats()
Clears the value of 'disruptorStats' Field Description The disruptor stats for an ICR sender operating in detached mode. |
void |
clearNumCommits()
Clears the value of 'numCommits' Field Description The number of commits recorded by the sender. |
void |
clearNumForks()
Clears the value of 'numForks' Field Description The number of forked packets persisted. |
void |
clearNumPutsRecorded()
Clears the value of 'numPutsRecorded' Field Description The number of puts recorded by the sender. |
void |
clearNumRemovesRecorded()
Clears the value of 'numRemovesRecorded' Field Description The number of removes recorded by the sender. |
void |
clearNumSendsRecorded()
Clears the value of 'numSendsRecorded' Field Description The number of sends recorded by the sender. |
void |
clearNumUpdatesRecorded()
Clears the value of 'numUpdatesRecorded' Field Description The number of updates recorded by the sender. |
void |
clearXRogType()
|
Object |
clone()
Creates a clone of this object. |
SrvMonAppStoreBindingICRSenderStats |
copy()
Creates a copy of this SrvMonAppStoreBindingICRSenderStats. |
void |
copyInto(SrvMonAppStoreBindingICRSenderStats copy)
Copies the contents of this SrvMonAppStoreBindingICRSenderStats into the target. |
static SrvMonAppStoreBindingICRSenderStats |
create()
|
static SrvMonAppStoreBindingICRSenderStats |
createFrom(byte[] serializedContainer)
|
static SrvMonAppStoreBindingICRSenderStats |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
static SrvMonAppStoreBindingICRSenderStats |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
static SrvMonAppStoreBindingICRSenderStats |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromByteArray(byte[] array)
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromByteBuffer(ByteBuffer buffer)
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length)
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
|
SrvMonAppStoreBindingICRSenderStats |
deserializeFromNative(long address,
int offset,
int length)
|
SrvMonAppStoreBindingICRSenderStats |
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()
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
boolean |
getDetachedSend()
Gets the value of 'detachedSend' Field Description Indicates if the ICR sender is operating in detached mode. |
com.neeve.xbuf.XbufVariableBooleanField |
getDetachedSendField()
|
static int |
getDetachedSendFieldId()
Get the field id for 'detachedSend' This method can be used to set field interests. |
SrvMonDisruptorStats |
getDisruptorStats()
Gets the value of 'disruptorStats' Field Description The disruptor stats for an ICR sender operating in detached mode. |
static int |
getDisruptorStatsFieldId()
Get the field id for 'disruptorStats' This method can be used to set field interests. |
void |
getDisruptorStatsTo(SrvMonDisruptorStats to)
Copies the value of SrvMonDisruptorStats into the provided value. |
boolean |
getIsReadOnly()
|
long |
getNumCommits()
Gets the value of 'numCommits' Field Description The number of commits recorded by the sender. |
com.neeve.xbuf.XbufVariableLongField |
getNumCommitsField()
|
static int |
getNumCommitsFieldId()
Get the field id for 'numCommits' This method can be used to set field interests. |
long |
getNumForks()
Gets the value of 'numForks' Field Description The number of forked packets persisted. |
com.neeve.xbuf.XbufVariableLongField |
getNumForksField()
|
static int |
getNumForksFieldId()
Get the field id for 'numForks' This method can be used to set field interests. |
long |
getNumPutsRecorded()
Gets the value of 'numPutsRecorded' Field Description The number of puts recorded by the sender. |
com.neeve.xbuf.XbufVariableLongField |
getNumPutsRecordedField()
|
static int |
getNumPutsRecordedFieldId()
Get the field id for 'numPutsRecorded' This method can be used to set field interests. |
long |
getNumRemovesRecorded()
Gets the value of 'numRemovesRecorded' Field Description The number of removes recorded by the sender. |
com.neeve.xbuf.XbufVariableLongField |
getNumRemovesRecordedField()
|
static int |
getNumRemovesRecordedFieldId()
Get the field id for 'numRemovesRecorded' This method can be used to set field interests. |
long |
getNumSendsRecorded()
Gets the value of 'numSendsRecorded' Field Description The number of sends recorded by the sender. |
com.neeve.xbuf.XbufVariableLongField |
getNumSendsRecordedField()
|
static int |
getNumSendsRecordedFieldId()
Get the field id for 'numSendsRecorded' This method can be used to set field interests. |
long |
getNumUpdatesRecorded()
Gets the value of 'numUpdatesRecorded' Field Description The number of updates recorded by the sender. |
com.neeve.xbuf.XbufVariableLongField |
getNumUpdatesRecordedField()
|
static int |
getNumUpdatesRecordedFieldId()
Get the field id for 'numUpdatesRecorded' This method can be used to set field interests. |
int |
getOwnerCount()
|
UtlPool<SrvMonAppStoreBindingICRSenderStats> |
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 |
hasDetachedSend()
Checks for the presence of 'detachedSend' Field Description Indicates if the ICR sender is operating in detached mode. |
boolean |
hasDisruptorStats()
Checks for the presence of 'disruptorStats' Field Description The disruptor stats for an ICR sender operating in detached mode. |
boolean |
hasNumCommits()
Checks for the presence of 'numCommits' Field Description The number of commits recorded by the sender. |
boolean |
hasNumForks()
Checks for the presence of 'numForks' Field Description The number of forked packets persisted. |
boolean |
hasNumPutsRecorded()
Checks for the presence of 'numPutsRecorded' Field Description The number of puts recorded by the sender. |
boolean |
hasNumRemovesRecorded()
Checks for the presence of 'numRemovesRecorded' Field Description The number of removes recorded by the sender. |
boolean |
hasNumSendsRecorded()
Checks for the presence of 'numSendsRecorded' Field Description The number of sends recorded by the sender. |
boolean |
hasNumUpdatesRecorded()
Checks for the presence of 'numUpdatesRecorded' Field Description The number of updates recorded by the sender. |
boolean |
hasXRogType()
|
SrvMonAppStoreBindingICRSenderStats |
init()
Initialize an item. |
boolean |
isBufferBacked()
|
boolean |
isDirty()
|
boolean |
isReferenceCounted()
|
boolean |
isValid()
Tests if this object has any validation errors. |
void |
lendDisruptorStats(SrvMonDisruptorStats val)
'Lends' a reference of the SrvMonDisruptorStats 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()
|
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
void |
setDetachedSend(boolean val)
Sets the value of 'detachedSend' Field Description Indicates if the ICR sender is operating in detached mode. |
void |
setDetachedSendFrom(com.neeve.xbuf.XbufVariableBooleanField val)
|
void |
setDisruptorStats(SrvMonDisruptorStats val)
Sets the value of 'disruptorStats' Field Description The disruptor stats for an ICR sender operating in detached mode. |
static void |
setFieldInterest(List<Integer> fieldIds)
|
void |
setNumCommits(long val)
Sets the value of 'numCommits' Field Description The number of commits recorded by the sender. |
void |
setNumCommitsFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setNumForks(long val)
Sets the value of 'numForks' Field Description The number of forked packets persisted. |
void |
setNumForksFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setNumPutsRecorded(long val)
Sets the value of 'numPutsRecorded' Field Description The number of puts recorded by the sender. |
void |
setNumPutsRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setNumRemovesRecorded(long val)
Sets the value of 'numRemovesRecorded' Field Description The number of removes recorded by the sender. |
void |
setNumRemovesRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setNumSendsRecorded(long val)
Sets the value of 'numSendsRecorded' Field Description The number of sends recorded by the sender. |
void |
setNumSendsRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
|
void |
setNumUpdatesRecorded(long val)
Sets the value of 'numUpdatesRecorded' Field Description The number of updates recorded by the sender. |
void |
setNumUpdatesRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
|
SrvMonAppStoreBindingICRSenderStats |
setPool(UtlPool<SrvMonAppStoreBindingICRSenderStats> pool)
Set a pool item's pool. |
void |
setXRogType(short val)
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
|
void |
sync()
|
void |
syncFieldBitmask()
|
SrvMonDisruptorStats |
takeDisruptorStats()
'Takes' a reference to the disruptorStats 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 SrvMonAppStoreBindingICRSenderStats[] EMPTY_ARRAY
Constructor Detail |
---|
public SrvMonAppStoreBindingICRSenderStats()
public SrvMonAppStoreBindingICRSenderStats(int initialBackingBufferSize)
Method Detail |
---|
public static SrvMonAppStoreBindingICRSenderStats create()
public static SrvMonAppStoreBindingICRSenderStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonAppStoreBindingICRSenderStats createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAppStoreBindingICRSenderStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonAppStoreBindingICRSenderStats 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 getNumPutsRecordedFieldId()
This method can be used to set field interests.
getNumPutsRecorded()
public final void setNumPutsRecorded(long val)
ISrvMonAppStoreBindingICRSenderStats
setNumPutsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final long getNumPutsRecorded()
ISrvMonAppStoreBindingICRSenderStats
getNumPutsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setNumPutsRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getNumPutsRecordedField()
public final boolean hasNumPutsRecorded()
ISrvMonAppStoreBindingICRSenderStats
hasNumPutsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getNumPutsRecorded()
public final void clearNumPutsRecorded()
ISrvMonAppStoreBindingICRSenderStats
clearNumPutsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setNumPutsRecorded(long)
public static final int getNumUpdatesRecordedFieldId()
This method can be used to set field interests.
getNumUpdatesRecorded()
public final void setNumUpdatesRecorded(long val)
ISrvMonAppStoreBindingICRSenderStats
setNumUpdatesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final long getNumUpdatesRecorded()
ISrvMonAppStoreBindingICRSenderStats
getNumUpdatesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setNumUpdatesRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getNumUpdatesRecordedField()
public final boolean hasNumUpdatesRecorded()
ISrvMonAppStoreBindingICRSenderStats
hasNumUpdatesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getNumUpdatesRecorded()
public final void clearNumUpdatesRecorded()
ISrvMonAppStoreBindingICRSenderStats
clearNumUpdatesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setNumUpdatesRecorded(long)
public static final int getNumRemovesRecordedFieldId()
This method can be used to set field interests.
getNumRemovesRecorded()
public final void setNumRemovesRecorded(long val)
ISrvMonAppStoreBindingICRSenderStats
setNumRemovesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final long getNumRemovesRecorded()
ISrvMonAppStoreBindingICRSenderStats
getNumRemovesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setNumRemovesRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getNumRemovesRecordedField()
public final boolean hasNumRemovesRecorded()
ISrvMonAppStoreBindingICRSenderStats
hasNumRemovesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getNumRemovesRecorded()
public final void clearNumRemovesRecorded()
ISrvMonAppStoreBindingICRSenderStats
clearNumRemovesRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setNumRemovesRecorded(long)
public static final int getNumSendsRecordedFieldId()
This method can be used to set field interests.
getNumSendsRecorded()
public final void setNumSendsRecorded(long val)
ISrvMonAppStoreBindingICRSenderStats
setNumSendsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final long getNumSendsRecorded()
ISrvMonAppStoreBindingICRSenderStats
getNumSendsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setNumSendsRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getNumSendsRecordedField()
public final boolean hasNumSendsRecorded()
ISrvMonAppStoreBindingICRSenderStats
hasNumSendsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getNumSendsRecorded()
public final void clearNumSendsRecorded()
ISrvMonAppStoreBindingICRSenderStats
clearNumSendsRecorded
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setNumSendsRecorded(long)
public static final int getNumCommitsFieldId()
This method can be used to set field interests.
getNumCommits()
public final void setNumCommits(long val)
ISrvMonAppStoreBindingICRSenderStats
setNumCommits
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final long getNumCommits()
ISrvMonAppStoreBindingICRSenderStats
getNumCommits
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setNumCommitsFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getNumCommitsField()
public final boolean hasNumCommits()
ISrvMonAppStoreBindingICRSenderStats
hasNumCommits
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getNumCommits()
public final void clearNumCommits()
ISrvMonAppStoreBindingICRSenderStats
clearNumCommits
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setNumCommits(long)
public static final int getDetachedSendFieldId()
This method can be used to set field interests.
getDetachedSend()
public final void setDetachedSend(boolean val)
ISrvMonAppStoreBindingICRSenderStats
setDetachedSend
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final boolean getDetachedSend()
ISrvMonAppStoreBindingICRSenderStats
getDetachedSend
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setDetachedSendFrom(com.neeve.xbuf.XbufVariableBooleanField val)
public final com.neeve.xbuf.XbufVariableBooleanField getDetachedSendField()
public final boolean hasDetachedSend()
ISrvMonAppStoreBindingICRSenderStats
hasDetachedSend
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getDetachedSend()
public final void clearDetachedSend()
ISrvMonAppStoreBindingICRSenderStats
clearDetachedSend
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setDetachedSend(boolean)
public static final int getNumForksFieldId()
This method can be used to set field interests.
getNumForks()
public final void setNumForks(long val)
ISrvMonAppStoreBindingICRSenderStats
setNumForks
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final long getNumForks()
ISrvMonAppStoreBindingICRSenderStats
getNumForks
in interface ISrvMonAppStoreBindingICRSenderStats
public final void setNumForksFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getNumForksField()
public final boolean hasNumForks()
ISrvMonAppStoreBindingICRSenderStats
hasNumForks
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getNumForks()
public final void clearNumForks()
ISrvMonAppStoreBindingICRSenderStats
clearNumForks
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setNumForks(long)
public static final int getDisruptorStatsFieldId()
This method can be used to set field interests.
getDisruptorStats()
public final void setDisruptorStats(SrvMonDisruptorStats val)
ISrvMonAppStoreBindingICRSenderStats
setDisruptorStats
in interface ISrvMonAppStoreBindingICRSenderStats
val
- The value to set.public final void lendDisruptorStats(SrvMonDisruptorStats val)
ISrvMonAppStoreBindingICRSenderStats
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.
lendDisruptorStats
in interface ISrvMonAppStoreBindingICRSenderStats
val
- the value to 'lend' to lend.public final SrvMonDisruptorStats getDisruptorStats()
ISrvMonAppStoreBindingICRSenderStats
getDisruptorStats
in interface ISrvMonAppStoreBindingICRSenderStats
public final void getDisruptorStatsTo(SrvMonDisruptorStats to)
ISrvMonAppStoreBindingICRSenderStats
IF the value is not set, then the contents of the provided SrvMonDisruptorStats are cleared.
getDisruptorStatsTo
in interface ISrvMonAppStoreBindingICRSenderStats
to
- the value to copy intoSrvMonDisruptorStats.copyInto(SrvMonDisruptorStats)
public final SrvMonDisruptorStats takeDisruptorStats()
ISrvMonAppStoreBindingICRSenderStats
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.
takeDisruptorStats
in interface ISrvMonAppStoreBindingICRSenderStats
null
if the field is not set.public final boolean hasDisruptorStats()
ISrvMonAppStoreBindingICRSenderStats
hasDisruptorStats
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.getDisruptorStats()
public final void clearDisruptorStats()
ISrvMonAppStoreBindingICRSenderStats
clearDisruptorStats
in interface ISrvMonAppStoreBindingICRSenderStats
ISrvMonAppStoreBindingICRSenderStats.setDisruptorStats(SrvMonDisruptorStats)
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 SrvMonAppStoreBindingICRSenderStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppStoreBindingICRSenderStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonAppStoreBindingICRSenderStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppStoreBindingICRSenderStats deserializeFromByteArray(byte[] array)
public final SrvMonAppStoreBindingICRSenderStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppStoreBindingICRSenderStats deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonAppStoreBindingICRSenderStats deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonAppStoreBindingICRSenderStats 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 SrvMonAppStoreBindingICRSenderStats 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<SrvMonAppStoreBindingICRSenderStats>
public final SrvMonAppStoreBindingICRSenderStats setPool(UtlPool<SrvMonAppStoreBindingICRSenderStats> 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<SrvMonAppStoreBindingICRSenderStats>
public final UtlPool<SrvMonAppStoreBindingICRSenderStats> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool
getPool
in interface UtlPool.Item<SrvMonAppStoreBindingICRSenderStats>
UtlPool.Item.setPool(com.neeve.util.UtlPool)
public final boolean isReferenceCounted()
public final SrvMonAppStoreBindingICRSenderStats 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 SrvMonAppStoreBindingICRSenderStats 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 SrvMonAppStoreBindingICRSenderStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppStoreBindingICRSenderStats is read only.
public final void copyInto(SrvMonAppStoreBindingICRSenderStats 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 SrvMonAppStoreBindingICRSenderStats's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppStoreBindingICRSenderStats 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 |