com.neeve.server.mon.lifecycle
Interface ISrvMonAppStoreMemberInitCompleteMessage

All Superinterfaces:
CopyableMessageView<ISrvMonAppStoreMemberInitCompleteMessage>, IRogCopyableNode<ISrvMonAppStoreMemberInitCompleteMessage>, IRogMessage, IRogMetadata, IRogNode, IRogValidatable, IStoreObject, MapMessageView, MessageView, UtlReferenceTracker.HasReferenceTracker
All Known Implementing Classes:
SrvMonAppStoreMemberInitCompleteMessage

@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 ISrvMonAppStoreMemberInitCompleteMessage
extends IRogNode, IRogMessage, IRogCopyableNode<ISrvMonAppStoreMemberInitCompleteMessage>

Represents the event notifying that a member initialization is complete.

This event is dispatched in the following situations:

  1. On primary members after initialization from the persister is complete
  2. On primary members when a new member joining the store has been successfully initialized. It follows the IStoreMemberUpEvent for the new member.
  3. On standalone receiver members after initialization from the persister is complete


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.neeve.rog.IRogNode
IRogNode.PoolingListener
 
Nested classes/interfaces inherited from interface com.neeve.ods.IStoreObject
IStoreObject.EncodingType
 
Method Summary
 void clearLastTransactionId()
          Clears the value of 'lastTransactionId' Field Description The last transaction id that was dispatched during the initialization process.
 void clearMemberName()
          Clears the value of 'memberName' Field Description The name of the store member.
 void clearTimestamp()
          Clears the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch).
 SrvMonAppStoreMemberInitCompleteMessage copy()
          Creates a copy of this SrvMonAppStoreMemberInitCompleteMessage.
 void copyInto(SrvMonAppStoreMemberInitCompleteMessage target)
          Copies the contents of this SrvMonAppStoreMemberInitCompleteMessage into the target.
 long getLastTransactionId()
          Gets the value of 'lastTransactionId' Field Description The last transaction id that was dispatched during the initialization process.
 String getMemberName()
          Gets the value of 'memberName' Field Description The name of the store member.
<T extends XString>
T
getMemberNameTo(XString.Factory<T> factory)
          Copies the value of this String field into a new XString from the given factory.
 void getMemberNameTo(XString val)
          Copies the value of 'memberName' into the provided XString.
 XString getMemberNameUnsafe()
          Gets the raw value of 'memberName'.
 long getTimestamp()
          Gets the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch).
 boolean hasLastTransactionId()
          Checks for the presence of 'lastTransactionId' Field Description The last transaction id that was dispatched during the initialization process.
 boolean hasMemberName()
          Checks for the presence of 'memberName' Field Description The name of the store member.
 boolean hasTimestamp()
          Checks for the presence of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch).
 void lendMemberName(XString val)
          Sets the value of 'memberName' Field Description The name of the store member.
 void setLastTransactionId(long val)
          Sets the value of 'lastTransactionId' Field Description The last transaction id that was dispatched during the initialization process.
 void setMemberName(String val)
          Sets the value of 'memberName' Field Description The name of the store member.
 void setMemberNameFrom(long val)
          Sets the value of this String field to the given numeric value.
 void setMemberNameFrom(XString val)
          Copies the provided XString value into this object's 'memberName'.
 void setTimestamp(long val)
          Sets the value of 'timestamp' Field Description The timestamp at which this event occurred (millis since the epoch).
 
Methods inherited from interface com.neeve.rog.IRogNode
deserializeFromProtobuf, dispose, dump, getAttachment, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, serializeToProtobuf, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReadOnly, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
 
Methods inherited from interface com.neeve.ods.IStoreObject
acquire, deserialize, deserializeMetadata, deserializeMetadata, ensureId, getBinding, getCheckpointVersion, getContentEncodingType, getId, getOfid, getOwnershipCount, getSerializedMetadataLength, getStableTransactionId, getTransactionId, serialize, serializeMetadata, setBinding, setCheckpointVersion, setFieldValue, setId, setStableTransactionId, setTransactionId
 
Methods inherited from interface com.neeve.sma.MapMessageView
getMessageReflector
 
Methods inherited from interface com.neeve.rog.IRogMetadata
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
 
Methods inherited from interface com.neeve.rog.IRogValidatable
getValidationErrors, isValid
 

Method Detail

setTimestamp

void setTimestamp(long val)
Sets the value of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

Parameters:
val - The value to set.

getTimestamp

long getTimestamp()
Gets the value of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

Returns:
The timestamp at which this event occurred (millis since the epoch).

clearTimestamp

void clearTimestamp()
Clears the value of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

See Also:
setTimestamp(long)

hasTimestamp

boolean hasTimestamp()
Checks for the presence of 'timestamp'

Field Description

The timestamp at which this event occurred (millis since the epoch).

See Also:
getTimestamp()

setLastTransactionId

void setLastTransactionId(long val)
Sets the value of 'lastTransactionId'

Field Description

The last transaction id that was dispatched during the initialization process.

Parameters:
val - The value to set.

getLastTransactionId

long getLastTransactionId()
Gets the value of 'lastTransactionId'

Field Description

The last transaction id that was dispatched during the initialization process.

Returns:
The last transaction id that was dispatched during the initialization process.

clearLastTransactionId

void clearLastTransactionId()
Clears the value of 'lastTransactionId'

Field Description

The last transaction id that was dispatched during the initialization process.

See Also:
setLastTransactionId(long)

hasLastTransactionId

boolean hasLastTransactionId()
Checks for the presence of 'lastTransactionId'

Field Description

The last transaction id that was dispatched during the initialization process.

See Also:
getLastTransactionId()

setMemberName

void setMemberName(String val)
Sets the value of 'memberName'

Field Description

The name of the store member.

Parameters:
val - The value to set.

getMemberName

String getMemberName()
Gets the value of 'memberName'

Field Description

The name of the store member.

Returns:
The name of the store member.

lendMemberName

void lendMemberName(XString val)
Sets the value of 'memberName'

Field Description

The name of the store member.

Parameters:
val - The value to set.

setMemberNameFrom

void setMemberNameFrom(long val)
Sets the value of this String field to the given numeric value.

Field Description

The name of the store member.

NOTE:
This is the same as calling setMemberName(String). with Long.valueOf(val).toString(), except that using this method is a zero garbage operation for Xbuf encoding.


getMemberNameTo

<T extends XString> T getMemberNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.

Field Description

The name of the store member.

If the value of this field is not null this method creates an XString from the provided Factory, copies this field's value into the type, and returns the new XString.);

This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;

Parameters:
factory - The factory from which to get the XString to copy into and return
Returns:
a new XString from the provided factory if this field is set or null.
Throws:
NullPointerException - if the provided factory is null

setMemberNameFrom

void setMemberNameFrom(XString val)
Copies the provided XString value into this object's 'memberName'.

Field Description

The name of the store member.

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter can be more efficient than setMemberName(String) because it avoids encoding the value into a String if the given XString is already encoded.


getMemberNameTo

void getMemberNameTo(XString val)
Copies the value of 'memberName' into the provided XString.

Field Description

The name of the store member.

NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter can be more efficient than getMemberName() bec because it can avoid decoding the value into an String.

See Also:
getMemberName()

getMemberNameUnsafe

XString getMemberNameUnsafe()
Gets the raw value of 'memberName'.

Field Description

The name of the store member.

NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation when copying this field value to another object because it avoids copying the data into an intermediate XString and instead allows direct byte transfer from the raw value to the target object.

However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.

Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.

Returns:
the field's raw value
See Also:
getMemberName()

clearMemberName

void clearMemberName()
Clears the value of 'memberName'

Field Description

The name of the store member.

See Also:
setMemberName(String)

hasMemberName

boolean hasMemberName()
Checks for the presence of 'memberName'

Field Description

The name of the store member.

See Also:
getMemberName()

copy

SrvMonAppStoreMemberInitCompleteMessage copy()
Creates a copy of this SrvMonAppStoreMemberInitCompleteMessage.

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

The returned copy will be writeable even if this SrvMonAppStoreMemberInitCompleteMessage is read only.

No metadata is copied except as documented IRogCopyableNode. See IRogCopyableNode for more detailed information on the semantics of this method.

Specified by:
copy in interface CopyableMessageView<ISrvMonAppStoreMemberInitCompleteMessage>
Specified by:
copy in interface IRogCopyableNode<ISrvMonAppStoreMemberInitCompleteMessage>
Returns:
A copy of this SrvMonAppStoreMemberInitCompleteMessage.
See Also:
IRogCopyableNode, CopyableMessageView

copyInto

void copyInto(SrvMonAppStoreMemberInitCompleteMessage target)
Copies the contents of this SrvMonAppStoreMemberInitCompleteMessage 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 SrvMonAppStoreMemberInitCompleteMessage's embedded entity fields.

The returned copy will be writeable even if this SrvMonAppStoreMemberInitCompleteMessage is read only.

No metadata is copied except as documented IRogCopyableNode. See IRogCopyableNode for more detailed information on the semantics of this method.

Parameters:
target - The target to copy into which must not be null or read only.


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