Class FakeOperation
- java.lang.Object
-
- org.opends.server.replication.plugin.FakeOperation
-
- Direct Known Subclasses:
FakeAddOperation,FakeDelOperation,FakeModdnOperation,FakeModifyOperation
public abstract class FakeOperation extends Object
This class if used to build fake Operation from the historical information that stay in the entry in the database. This is useful when a LDAP server can't find a LDAP server that has already seen all its changes and therefore need to retransmit them.
-
-
Constructor Summary
Constructors Constructor Description FakeOperation(CSN csn)Creates a new FakeOperation using the provided CSN.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ReplicationMsggenerateMessage()Generate a ReplicationMsg from this fake operation.CSNgetCSN()Get the CSN.
-
-
-
Constructor Detail
-
FakeOperation
public FakeOperation(CSN csn)
Creates a new FakeOperation using the provided CSN.- Parameters:
csn- The CSN to use to build the FakeOperation.
-
-
Method Detail
-
getCSN
public CSN getCSN()
Get the CSN.- Returns:
- Returns the CSN.
-
generateMessage
public abstract ReplicationMsg generateMessage()
Generate a ReplicationMsg from this fake operation. The ReplicationMsg is used to send the informations about this operation to the other servers.- Returns:
- A ReplicationMsg that can be used to send information about this operation to remote servers.
-
-