com.neeve.server.mon
Interface ISrvMonAppStoreBindingPersisterStats

All Superinterfaces:
IRogValidatable
All Known Implementing Classes:
SrvMonAppStoreBindingPersisterStats

@Generated(value="com.neeve.adm.AdmGenerator",
           date="Wed Mar 28 10:54:31 EDT 2018")
@AdmGenerated(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)")
public interface ISrvMonAppStoreBindingPersisterStats
extends IRogValidatable

Holds stats for a store's persister sender.


Method Summary
 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.
 boolean getDetachedPersist()
          Gets the value of 'detachedPersist' Field Description Indicates if the persister is operating in detached mode.
 SrvMonDisruptorStats getDisruptorStats()
          Gets the value of 'disruptorStats' Field Description The disruptor stats for a persister operating in detached mode.
 void getDisruptorStatsTo(SrvMonDisruptorStats val)
          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.
 long getFileSizeUsed()
          Gets the value of 'fileSizeUsed' Field Description The size of the allocated log file used in bytes.
 long getNumCommits()
          Gets the value of 'numCommits' Field Description The number of commits recorded by the persister.
 long getNumForks()
          Gets the value of 'numForks' Field Description The number of forked packets persisted.
 long getNumPutsRecorded()
          Gets the value of 'numPutsRecorded' Field Description The number of puts recorded by the persister.
 long getNumRemovesRecorded()
          Gets the value of 'numRemovesRecorded' Field Description The number of removes recorded by the persister.
 long getNumSendsRecorded()
          Gets the value of 'numSendsRecorded' Field Description The number of sends recorded by the persister.
 long getNumUpdatesRecorded()
          Gets the value of 'numUpdatesRecorded' Field Description The number of updates recorded by the persister.
 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.
 void lendDisruptorStats(SrvMonDisruptorStats val)
          'Lends' a reference of the SrvMonDisruptorStats to the message for this field.
 void setDetachedPersist(boolean val)
          Sets the value of 'detachedPersist' Field Description Indicates if the persister is operating in detached mode.
 void setDisruptorStats(SrvMonDisruptorStats val)
          Sets the value of 'disruptorStats' Field Description The disruptor stats for a persister operating in detached mode.
 void setFileSize(long val)
          Sets the value of 'fileSize' Field Description The size of the file on disk.
 void setFileSizeUsed(long val)
          Sets the value of 'fileSizeUsed' Field Description The size of the allocated log file used in bytes.
 void setNumCommits(long val)
          Sets the value of 'numCommits' Field Description The number of commits recorded by the persister.
 void setNumForks(long val)
          Sets the value of 'numForks' Field Description The number of forked packets persisted.
 void setNumPutsRecorded(long val)
          Sets the value of 'numPutsRecorded' Field Description The number of puts recorded by the persister.
 void setNumRemovesRecorded(long val)
          Sets the value of 'numRemovesRecorded' Field Description The number of removes recorded by the persister.
 void setNumSendsRecorded(long val)
          Sets the value of 'numSendsRecorded' Field Description The number of sends recorded by the persister.
 void setNumUpdatesRecorded(long val)
          Sets the value of 'numUpdatesRecorded' Field Description The number of updates recorded by the persister.
 SrvMonDisruptorStats takeDisruptorStats()
          'Takes' a reference to the disruptorStats field from the message.
 
Methods inherited from interface com.neeve.rog.IRogValidatable
getValidationErrors, isValid
 

Method Detail

setNumPutsRecorded

void setNumPutsRecorded(long val)
Sets the value of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

Parameters:
val - The value to set.

getNumPutsRecorded

long getNumPutsRecorded()
Gets the value of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

Returns:
The number of puts recorded by the persister.

clearNumPutsRecorded

void clearNumPutsRecorded()
Clears the value of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

See Also:
setNumPutsRecorded(long)

hasNumPutsRecorded

boolean hasNumPutsRecorded()
Checks for the presence of 'numPutsRecorded'

Field Description

The number of puts recorded by the persister.

See Also:
getNumPutsRecorded()

setNumUpdatesRecorded

void setNumUpdatesRecorded(long val)
Sets the value of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

Parameters:
val - The value to set.

getNumUpdatesRecorded

long getNumUpdatesRecorded()
Gets the value of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

Returns:
The number of updates recorded by the persister.

clearNumUpdatesRecorded

void clearNumUpdatesRecorded()
Clears the value of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

See Also:
setNumUpdatesRecorded(long)

hasNumUpdatesRecorded

boolean hasNumUpdatesRecorded()
Checks for the presence of 'numUpdatesRecorded'

Field Description

The number of updates recorded by the persister.

See Also:
getNumUpdatesRecorded()

setNumRemovesRecorded

void setNumRemovesRecorded(long val)
Sets the value of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

Parameters:
val - The value to set.

getNumRemovesRecorded

long getNumRemovesRecorded()
Gets the value of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

Returns:
The number of removes recorded by the persister.

clearNumRemovesRecorded

void clearNumRemovesRecorded()
Clears the value of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

See Also:
setNumRemovesRecorded(long)

hasNumRemovesRecorded

boolean hasNumRemovesRecorded()
Checks for the presence of 'numRemovesRecorded'

Field Description

The number of removes recorded by the persister.

See Also:
getNumRemovesRecorded()

setNumSendsRecorded

void setNumSendsRecorded(long val)
Sets the value of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

Parameters:
val - The value to set.

getNumSendsRecorded

long getNumSendsRecorded()
Gets the value of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

Returns:
The number of sends recorded by the persister.

clearNumSendsRecorded

void clearNumSendsRecorded()
Clears the value of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

See Also:
setNumSendsRecorded(long)

hasNumSendsRecorded

boolean hasNumSendsRecorded()
Checks for the presence of 'numSendsRecorded'

Field Description

The number of sends recorded by the persister.

See Also:
getNumSendsRecorded()

setNumCommits

void setNumCommits(long val)
Sets the value of 'numCommits'

Field Description

The number of commits recorded by the persister.

Parameters:
val - The value to set.

getNumCommits

long getNumCommits()
Gets the value of 'numCommits'

Field Description

The number of commits recorded by the persister.

Returns:
The number of commits recorded by the persister.

clearNumCommits

void clearNumCommits()
Clears the value of 'numCommits'

Field Description

The number of commits recorded by the persister.

See Also:
setNumCommits(long)

hasNumCommits

boolean hasNumCommits()
Checks for the presence of 'numCommits'

Field Description

The number of commits recorded by the persister.

See Also:
getNumCommits()

setDetachedPersist

void setDetachedPersist(boolean val)
Sets the value of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

Parameters:
val - The value to set.

getDetachedPersist

boolean getDetachedPersist()
Gets the value of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

Returns:
Indicates if the persister is operating in detached mode.

clearDetachedPersist

void clearDetachedPersist()
Clears the value of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

See Also:
setDetachedPersist(boolean)

hasDetachedPersist

boolean hasDetachedPersist()
Checks for the presence of 'detachedPersist'

Field Description

Indicates if the persister is operating in detached mode.

See Also:
getDetachedPersist()

setNumForks

void setNumForks(long val)
Sets the value of 'numForks'

Field Description

The number of forked packets persisted.

Parameters:
val - The value to set.

getNumForks

long getNumForks()
Gets the value of 'numForks'

Field Description

The number of forked packets persisted.

Returns:
The number of forked packets persisted.

clearNumForks

void clearNumForks()
Clears the value of 'numForks'

Field Description

The number of forked packets persisted.

See Also:
setNumForks(long)

hasNumForks

boolean hasNumForks()
Checks for the presence of 'numForks'

Field Description

The number of forked packets persisted.

See Also:
getNumForks()

setFileSize

void setFileSize(long val)
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.

Parameters:
val - The value to set.

getFileSize

long getFileSize()
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.

Returns:
The size of the file on disk.

clearFileSize

void clearFileSize()
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.

See Also:
setFileSize(long)

hasFileSize

boolean hasFileSize()
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.

See Also:
getFileSize()

setFileSizeUsed

void setFileSizeUsed(long val)
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.

Parameters:
val - The value to set.

getFileSizeUsed

long getFileSizeUsed()
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.

Returns:
The size of the allocated log file used in bytes.

clearFileSizeUsed

void clearFileSizeUsed()
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.

See Also:
setFileSizeUsed(long)

hasFileSizeUsed

boolean hasFileSizeUsed()
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.

See Also:
getFileSizeUsed()

setDisruptorStats

void setDisruptorStats(SrvMonDisruptorStats val)
Sets the value of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

Parameters:
val - The value to set.

lendDisruptorStats

void lendDisruptorStats(SrvMonDisruptorStats val)
'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.

Parameters:
val - the value to 'lend' to lend.

getDisruptorStats

SrvMonDisruptorStats getDisruptorStats()
Gets the value of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

Returns:
The disruptor stats for a persister operating in detached mode.

getDisruptorStatsTo

void getDisruptorStatsTo(SrvMonDisruptorStats val)
Copies the value of SrvMonDisruptorStats into the provided value.

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

Parameters:
val - the value to copy into
See Also:
SrvMonDisruptorStats.copyInto(SrvMonDisruptorStats)

takeDisruptorStats

SrvMonDisruptorStats takeDisruptorStats()
'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.

Returns:
a 'taken' reference to the field or null if the field is not set.

hasDisruptorStats

boolean hasDisruptorStats()
Checks for the presence of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

See Also:
getDisruptorStats()

clearDisruptorStats

void clearDisruptorStats()
Clears the value of 'disruptorStats'

Field Description

The disruptor stats for a persister operating in detached mode.

See Also:
setDisruptorStats(SrvMonDisruptorStats)


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