com.neeve.server.mon
Class SrvMonAppStoreBindingPersisterStats

java.lang.Object
  extended by com.neeve.server.mon.SrvMonAppStoreBindingPersisterStats
All Implemented Interfaces:
IRogValidatable, ISrvMonAppStoreBindingPersisterStats, UtlPool.Item<SrvMonAppStoreBindingPersisterStats>, 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=206)
public final class SrvMonAppStoreBindingPersisterStats
extends Object
implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonAppStoreBindingPersisterStats>, ISrvMonAppStoreBindingPersisterStats

Holds stats for a store's persister sender.


Nested Class Summary
static class SrvMonAppStoreBindingPersisterStats.Field
          The SrvMonAppStoreBindingPersisterStats xbuf field (used internally when this entity is used as a field of another entity).
static class SrvMonAppStoreBindingPersisterStats.ListField
          The SrvMonAppStoreBindingPersisterStats list field (used internally when this entity is used as an array field of another entity).
 
Field Summary
static SrvMonAppStoreBindingPersisterStats[] EMPTY_ARRAY
          A preallocated empty array used to avoid garbage when returning empty arrays of this type.
 
Constructor Summary
SrvMonAppStoreBindingPersisterStats()
           
SrvMonAppStoreBindingPersisterStats(int initialBackingBufferSize)
           
 
Method Summary
 SrvMonAppStoreBindingPersisterStats acquire()
           
 void clearContent()
           
 void clearDetachedPersist()
          Clears the value of 'detachedPersist' Field Description Indicates if the persister is operating in detached mode.
 void clearDisruptorStats()
          Clears the value of 'disruptorStats' Field Description The disruptor stats for a persister operating in detached mode.
 void clearFileSize()
          Clears the value of 'fileSize' Field Description The size of the file on disk.
 void clearFileSizeUsed()
          Clears the value of 'fileSizeUsed' Field Description The size of the allocated log file used in bytes.
 void clearNumCommits()
          Clears the value of 'numCommits' Field Description The number of commits recorded by the persister.
 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 persister.
 void clearNumRemovesRecorded()
          Clears the value of 'numRemovesRecorded' Field Description The number of removes recorded by the persister.
 void clearNumSendsRecorded()
          Clears the value of 'numSendsRecorded' Field Description The number of sends recorded by the persister.
 void clearNumUpdatesRecorded()
          Clears the value of 'numUpdatesRecorded' Field Description The number of updates recorded by the persister.
 void clearXRogType()
           
 Object clone()
          Creates a clone of this object.
 SrvMonAppStoreBindingPersisterStats copy()
          Creates a copy of this SrvMonAppStoreBindingPersisterStats.
 void copyInto(SrvMonAppStoreBindingPersisterStats copy)
          Copies the contents of this SrvMonAppStoreBindingPersisterStats into the target.
static SrvMonAppStoreBindingPersisterStats create()
           
static SrvMonAppStoreBindingPersisterStats createFrom(byte[] serializedContainer)
           
static SrvMonAppStoreBindingPersisterStats createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
static SrvMonAppStoreBindingPersisterStats createFromSerializedXbufContainer(byte[] serializedContainer)
           
static SrvMonAppStoreBindingPersisterStats createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
static com.neeve.xbuf.XbufSchema createSchema()
           
 SrvMonAppStoreBindingPersisterStats deserializeFromByteArray(byte[] array)
           
 SrvMonAppStoreBindingPersisterStats deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 SrvMonAppStoreBindingPersisterStats deserializeFromByteBuffer(ByteBuffer buffer)
           
 SrvMonAppStoreBindingPersisterStats deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 SrvMonAppStoreBindingPersisterStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
           
 SrvMonAppStoreBindingPersisterStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
           
 SrvMonAppStoreBindingPersisterStats deserializeFromNative(long address, int offset, int length)
           
 SrvMonAppStoreBindingPersisterStats 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 getDetachedPersist()
          Gets the value of 'detachedPersist' Field Description Indicates if the persister is operating in detached mode.
 com.neeve.xbuf.XbufVariableBooleanField getDetachedPersistField()
           
static int getDetachedPersistFieldId()
          Get the field id for 'detachedPersist' This method can be used to set field interests.
 SrvMonDisruptorStats getDisruptorStats()
          Gets the value of 'disruptorStats' Field Description The disruptor stats for a persister 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.
 long getFileSize()
          Gets the value of 'fileSize' Field Description The size of the file on disk.
 com.neeve.xbuf.XbufVariableLongField getFileSizeField()
           
static int getFileSizeFieldId()
          Get the field id for 'fileSize' This method can be used to set field interests.
 long getFileSizeUsed()
          Gets the value of 'fileSizeUsed' Field Description The size of the allocated log file used in bytes.
 com.neeve.xbuf.XbufVariableLongField getFileSizeUsedField()
           
static int getFileSizeUsedFieldId()
          Get the field id for 'fileSizeUsed' This method can be used to set field interests.
 boolean getIsReadOnly()
           
 long getNumCommits()
          Gets the value of 'numCommits' Field Description The number of commits recorded by the persister.
 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 persister.
 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 persister.
 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 persister.
 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 persister.
 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<SrvMonAppStoreBindingPersisterStats> 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 hasDetachedPersist()
          Checks for the presence of 'detachedPersist' Field Description Indicates if the persister is operating in detached mode.
 boolean hasDisruptorStats()
          Checks for the presence of 'disruptorStats' Field Description The disruptor stats for a persister operating in detached mode.
 boolean hasFileSize()
          Checks for the presence of 'fileSize' Field Description The size of the file on disk.
 boolean hasFileSizeUsed()
          Checks for the presence of 'fileSizeUsed' Field Description The size of the allocated log file used in bytes.
 boolean hasNumCommits()
          Checks for the presence of 'numCommits' Field Description The number of commits recorded by the persister.
 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 persister.
 boolean hasNumRemovesRecorded()
          Checks for the presence of 'numRemovesRecorded' Field Description The number of removes recorded by the persister.
 boolean hasNumSendsRecorded()
          Checks for the presence of 'numSendsRecorded' Field Description The number of sends recorded by the persister.
 boolean hasNumUpdatesRecorded()
          Checks for the presence of 'numUpdatesRecorded' Field Description The number of updates recorded by the persister.
 boolean hasXRogType()
           
 SrvMonAppStoreBindingPersisterStats 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 setDetachedPersist(boolean val)
          Sets the value of 'detachedPersist' Field Description Indicates if the persister is operating in detached mode.
 void setDetachedPersistFrom(com.neeve.xbuf.XbufVariableBooleanField val)
           
 void setDisruptorStats(SrvMonDisruptorStats val)
          Sets the value of 'disruptorStats' Field Description The disruptor stats for a persister operating in detached mode.
static void setFieldInterest(List<Integer> fieldIds)
           
 void setFileSize(long val)
          Sets the value of 'fileSize' Field Description The size of the file on disk.
 void setFileSizeFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setFileSizeUsed(long val)
          Sets the value of 'fileSizeUsed' Field Description The size of the allocated log file used in bytes.
 void setFileSizeUsedFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 void setNumCommits(long val)
          Sets the value of 'numCommits' Field Description The number of commits recorded by the persister.
 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 persister.
 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 persister.
 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 persister.
 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 persister.
 void setNumUpdatesRecordedFrom(com.neeve.xbuf.XbufVariableLongField val)
           
 SrvMonAppStoreBindingPersisterStats setPool(UtlPool<SrvMonAppStoreBindingPersisterStats> 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

EMPTY_ARRAY

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

Constructor Detail

SrvMonAppStoreBindingPersisterStats

public SrvMonAppStoreBindingPersisterStats()

SrvMonAppStoreBindingPersisterStats

public SrvMonAppStoreBindingPersisterStats(int initialBackingBufferSize)
Method Detail

create

public static SrvMonAppStoreBindingPersisterStats create()

createFromSerializedXbufContainer

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

createFromSerializedXbufContainer

public static SrvMonAppStoreBindingPersisterStats createFromSerializedXbufContainer(byte[] serializedContainer)

createFrom

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

createFrom

public static SrvMonAppStoreBindingPersisterStats 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()

getNumPutsRecordedFieldId

public static final int getNumPutsRecordedFieldId()
Get the field id for 'numPutsRecorded'

This method can be used to set field interests.

See Also:
getNumPutsRecorded()

setNumPutsRecorded

public final void setNumPutsRecorded(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

Specified by:
setNumPutsRecorded in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getNumPutsRecorded

public final long getNumPutsRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

Specified by:
getNumPutsRecorded in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The number of puts recorded by the persister.

setNumPutsRecordedFrom

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

getNumPutsRecordedField

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

hasNumPutsRecorded

public final boolean hasNumPutsRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

Specified by:
hasNumPutsRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getNumPutsRecorded()

clearNumPutsRecorded

public final void clearNumPutsRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

Specified by:
clearNumPutsRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setNumPutsRecorded(long)

getNumUpdatesRecordedFieldId

public static final int getNumUpdatesRecordedFieldId()
Get the field id for 'numUpdatesRecorded'

This method can be used to set field interests.

See Also:
getNumUpdatesRecorded()

setNumUpdatesRecorded

public final void setNumUpdatesRecorded(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

Specified by:
setNumUpdatesRecorded in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getNumUpdatesRecorded

public final long getNumUpdatesRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

Specified by:
getNumUpdatesRecorded in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The number of updates recorded by the persister.

setNumUpdatesRecordedFrom

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

getNumUpdatesRecordedField

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

hasNumUpdatesRecorded

public final boolean hasNumUpdatesRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

Specified by:
hasNumUpdatesRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getNumUpdatesRecorded()

clearNumUpdatesRecorded

public final void clearNumUpdatesRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

Specified by:
clearNumUpdatesRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setNumUpdatesRecorded(long)

getNumRemovesRecordedFieldId

public static final int getNumRemovesRecordedFieldId()
Get the field id for 'numRemovesRecorded'

This method can be used to set field interests.

See Also:
getNumRemovesRecorded()

setNumRemovesRecorded

public final void setNumRemovesRecorded(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

Specified by:
setNumRemovesRecorded in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getNumRemovesRecorded

public final long getNumRemovesRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

Specified by:
getNumRemovesRecorded in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The number of removes recorded by the persister.

setNumRemovesRecordedFrom

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

getNumRemovesRecordedField

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

hasNumRemovesRecorded

public final boolean hasNumRemovesRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

Specified by:
hasNumRemovesRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getNumRemovesRecorded()

clearNumRemovesRecorded

public final void clearNumRemovesRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

Specified by:
clearNumRemovesRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setNumRemovesRecorded(long)

getNumSendsRecordedFieldId

public static final int getNumSendsRecordedFieldId()
Get the field id for 'numSendsRecorded'

This method can be used to set field interests.

See Also:
getNumSendsRecorded()

setNumSendsRecorded

public final void setNumSendsRecorded(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

Specified by:
setNumSendsRecorded in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getNumSendsRecorded

public final long getNumSendsRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

Specified by:
getNumSendsRecorded in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The number of sends recorded by the persister.

setNumSendsRecordedFrom

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

getNumSendsRecordedField

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

hasNumSendsRecorded

public final boolean hasNumSendsRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

Specified by:
hasNumSendsRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getNumSendsRecorded()

clearNumSendsRecorded

public final void clearNumSendsRecorded()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

Specified by:
clearNumSendsRecorded in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setNumSendsRecorded(long)

getNumCommitsFieldId

public static final int getNumCommitsFieldId()
Get the field id for 'numCommits'

This method can be used to set field interests.

See Also:
getNumCommits()

setNumCommits

public final void setNumCommits(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'numCommits'

Field Description

The number of commits recorded by the persister.

Specified by:
setNumCommits in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getNumCommits

public final long getNumCommits()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'numCommits'

Field Description

The number of commits recorded by the persister.

Specified by:
getNumCommits in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The number of commits recorded by the persister.

setNumCommitsFrom

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

getNumCommitsField

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

hasNumCommits

public final boolean hasNumCommits()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'numCommits'

Field Description

The number of commits recorded by the persister.

Specified by:
hasNumCommits in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getNumCommits()

clearNumCommits

public final void clearNumCommits()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'numCommits'

Field Description

The number of commits recorded by the persister.

Specified by:
clearNumCommits in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setNumCommits(long)

getDetachedPersistFieldId

public static final int getDetachedPersistFieldId()
Get the field id for 'detachedPersist'

This method can be used to set field interests.

See Also:
getDetachedPersist()

setDetachedPersist

public final void setDetachedPersist(boolean val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

Specified by:
setDetachedPersist in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getDetachedPersist

public final boolean getDetachedPersist()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

Specified by:
getDetachedPersist in interface ISrvMonAppStoreBindingPersisterStats
Returns:
Indicates if the persister is operating in detached mode.

setDetachedPersistFrom

public final void setDetachedPersistFrom(com.neeve.xbuf.XbufVariableBooleanField val)

getDetachedPersistField

public final com.neeve.xbuf.XbufVariableBooleanField getDetachedPersistField()

hasDetachedPersist

public final boolean hasDetachedPersist()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

Specified by:
hasDetachedPersist in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getDetachedPersist()

clearDetachedPersist

public final void clearDetachedPersist()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

Specified by:
clearDetachedPersist in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setDetachedPersist(boolean)

getNumForksFieldId

public static final int getNumForksFieldId()
Get the field id for 'numForks'

This method can be used to set field interests.

See Also:
getNumForks()

setNumForks

public final void setNumForks(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'numForks'

Field Description

The number of forked packets persisted.

Specified by:
setNumForks in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getNumForks

public final long getNumForks()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'numForks'

Field Description

The number of forked packets persisted.

Specified by:
getNumForks in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The number of forked packets persisted.

setNumForksFrom

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

getNumForksField

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

hasNumForks

public final boolean hasNumForks()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'numForks'

Field Description

The number of forked packets persisted.

Specified by:
hasNumForks in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getNumForks()

clearNumForks

public final void clearNumForks()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'numForks'

Field Description

The number of forked packets persisted.

Specified by:
clearNumForks in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setNumForks(long)

getFileSizeFieldId

public static final int getFileSizeFieldId()
Get the field id for 'fileSize'

This method can be used to set field interests.

See Also:
getFileSize()

setFileSize

public final void setFileSize(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'fileSize'

Field Description

The size of the file on disk.

This represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.

Specified by:
setFileSize in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getFileSize

public final long getFileSize()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'fileSize'

Field Description

The size of the file on disk.

This represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.

Specified by:
getFileSize in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The size of the file on disk.

setFileSizeFrom

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

getFileSizeField

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

hasFileSize

public final boolean hasFileSize()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'fileSize'

Field Description

The size of the file on disk.

This represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.

Specified by:
hasFileSize in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getFileSize()

clearFileSize

public final void clearFileSize()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'fileSize'

Field Description

The size of the file on disk.

This represents the actual size of the log file currently allocated. This may differs from getFileSizeUsed() in that this value may be greater if the log has been preallocated to a larger size.

Specified by:
clearFileSize in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setFileSize(long)

getFileSizeUsedFieldId

public static final int getFileSizeUsedFieldId()
Get the field id for 'fileSizeUsed'

This method can be used to set field interests.

See Also:
getFileSizeUsed()

setFileSizeUsed

public final void setFileSizeUsed(long val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'fileSizeUsed'

Field Description

The size of the allocated log file used in bytes.

This represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.

Specified by:
setFileSizeUsed in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

getFileSizeUsed

public final long getFileSizeUsed()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'fileSizeUsed'

Field Description

The size of the allocated log file used in bytes.

This represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.

Specified by:
getFileSizeUsed in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The size of the allocated log file used in bytes.

setFileSizeUsedFrom

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

getFileSizeUsedField

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

hasFileSizeUsed

public final boolean hasFileSizeUsed()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'fileSizeUsed'

Field Description

The size of the allocated log file used in bytes.

This represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.

Specified by:
hasFileSizeUsed in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getFileSizeUsed()

clearFileSizeUsed

public final void clearFileSizeUsed()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'fileSizeUsed'

Field Description

The size of the allocated log file used in bytes.

This represents the amount of space used in the log file which may be less than the size on disk if the file has been preallocated to a larger size.

Specified by:
clearFileSizeUsed in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setFileSizeUsed(long)

getDisruptorStatsFieldId

public static final int getDisruptorStatsFieldId()
Get the field id for 'disruptorStats'

This method can be used to set field interests.

See Also:
getDisruptorStats()

setDisruptorStats

public final void setDisruptorStats(SrvMonDisruptorStats val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Sets the value of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

Specified by:
setDisruptorStats in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - The value to set.

lendDisruptorStats

public final void lendDisruptorStats(SrvMonDisruptorStats val)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
'Lends' a reference of the SrvMonDisruptorStats to the message for this field.

Field Description

The disruptor stats for a persister operating in detached mode.

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.

Specified by:
lendDisruptorStats in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
val - the value to 'lend' to lend.

getDisruptorStats

public final SrvMonDisruptorStats getDisruptorStats()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Gets the value of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

Specified by:
getDisruptorStats in interface ISrvMonAppStoreBindingPersisterStats
Returns:
The disruptor stats for a persister operating in detached mode.

getDisruptorStatsTo

public final void getDisruptorStatsTo(SrvMonDisruptorStats to)
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Copies the value of SrvMonDisruptorStats into the provided value.

IF the value is not set, then the contents of the provided SrvMonDisruptorStats are cleared.

Specified by:
getDisruptorStatsTo in interface ISrvMonAppStoreBindingPersisterStats
Parameters:
to - the value to copy into
See Also:
SrvMonDisruptorStats.copyInto(SrvMonDisruptorStats)

takeDisruptorStats

public final SrvMonDisruptorStats takeDisruptorStats()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
'Takes' a reference to the disruptorStats field from the message.

Field Description

The disruptor stats for a persister operating in detached mode.

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.

Specified by:
takeDisruptorStats in interface ISrvMonAppStoreBindingPersisterStats
Returns:
a 'taken' reference to the field or null if the field is not set.

hasDisruptorStats

public final boolean hasDisruptorStats()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Checks for the presence of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

Specified by:
hasDisruptorStats in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.getDisruptorStats()

clearDisruptorStats

public final void clearDisruptorStats()
Description copied from interface: ISrvMonAppStoreBindingPersisterStats
Clears the value of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

Specified by:
clearDisruptorStats in interface ISrvMonAppStoreBindingPersisterStats
See Also:
ISrvMonAppStoreBindingPersisterStats.setDisruptorStats(SrvMonDisruptorStats)

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 SrvMonAppStoreBindingPersisterStats deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
                                                                                int offset,
                                                                                int length,
                                                                                com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)

deserializeFromIOElasticBuffer

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

deserializeFromByteArray

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

deserializeFromByteArray

public final SrvMonAppStoreBindingPersisterStats deserializeFromByteArray(byte[] array)

deserializeFromByteBuffer

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

deserializeFromByteBuffer

public final SrvMonAppStoreBindingPersisterStats deserializeFromByteBuffer(ByteBuffer buffer)

deserializeFromNative

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

deserializeFromNative

public final SrvMonAppStoreBindingPersisterStats 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 SrvMonAppStoreBindingPersisterStats 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<SrvMonAppStoreBindingPersisterStats>
Returns:
Return 'this' object for method invocation chaining.

setPool

public final SrvMonAppStoreBindingPersisterStats setPool(UtlPool<SrvMonAppStoreBindingPersisterStats> 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<SrvMonAppStoreBindingPersisterStats>
Returns:
Return 'this' object for method invocation chaining.

getPool

public final UtlPool<SrvMonAppStoreBindingPersisterStats> 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<SrvMonAppStoreBindingPersisterStats>
Returns:
the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool)

isReferenceCounted

public final boolean isReferenceCounted()

acquire

public final SrvMonAppStoreBindingPersisterStats 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 SrvMonAppStoreBindingPersisterStats copy()
Creates a copy of this SrvMonAppStoreBindingPersisterStats.

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 SrvMonAppStoreBindingPersisterStats's embedded entity fields.

The returned copy will be writeable even if this SrvMonAppStoreBindingPersisterStats 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(SrvMonAppStoreBindingPersisterStats copy)
Copies the contents of this SrvMonAppStoreBindingPersisterStats 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 SrvMonAppStoreBindingPersisterStats's embedded entity fields.

The returned copy will be writeable even if this SrvMonAppStoreBindingPersisterStats 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.