public class ResetGenerationIdMsg extends ReplicationMsg
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
ResetGenerationIdMsg(long generationId)
Creates a new message.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(short protocolVersion)
Serializes the PDU using the provided replication protocol version.
|
long |
getGenerationId()
Returns the generation Id set in this message.
|
String |
toString() |
generateMsg
public ResetGenerationIdMsg(long generationId)
generationId
- The new reference value of the generationID.public byte[] getBytes(short protocolVersion)
getBytes
in class ReplicationMsg
protocolVersion
- The protocol version to use for serialization. The version should
normally be older than the current one.null
if the message isn't supported
in that protocol version.public long getGenerationId()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.