|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.replication.protocol.ReplicationMessage
org.opends.server.replication.protocol.ResetGenerationId
public class ResetGenerationId
This message is used by an LDAP server to communicate to the topology that the generation must be reset for the domain.
Constructor Summary | |
---|---|
ResetGenerationId(byte[] in)
Creates a new GenerationIdMessage from its encoded form. |
|
ResetGenerationId(long generationId)
Creates a new message. |
Method Summary | |
---|---|
byte[] |
getBytes()
Return the byte[] representation of this message. |
long |
getGenerationId()
Returns the generation Id set in this message. |
Methods inherited from class org.opends.server.replication.protocol.ReplicationMessage |
---|
addByteArray, generateMsg, getNextLength |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResetGenerationId(long generationId)
generationId
- The new reference value of the generationID.public ResetGenerationId(byte[] in) throws java.util.zip.DataFormatException
in
- The byte array containing the encoded form of the
WindowMessage.
java.util.zip.DataFormatException
- If the byte array does not contain a valid
encoded form of the WindowMessage.Method Detail |
---|
public byte[] getBytes()
getBytes
in class ReplicationMessage
public long getGenerationId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |