org.opends.server.replication.plugin
Class ModifyFakeOperation
java.lang.Object
org.opends.server.replication.plugin.FakeOperation
org.opends.server.replication.plugin.ModifyFakeOperation
public class ModifyFakeOperation
- extends FakeOperation
This class if used to build fake Modify Operation from the historical
information that stay in the entry in the database.
This is usefull when a LDAP server can't find a LDAP server that
has already seen all its changes and therefore need to retransmit them
- Author:
- Gilles Bellaton
Constructor Summary |
ModifyFakeOperation(DN dn,
ChangeNumber changenumber,
java.lang.String entryuuid)
Creates a new ModifyFakeOperation with the provided information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyFakeOperation
public ModifyFakeOperation(DN dn,
ChangeNumber changenumber,
java.lang.String entryuuid)
- Creates a new ModifyFakeOperation with the provided information.
- Parameters:
dn
- The dn on which the Operation was applied.changenumber
- The ChangeNumber of the operation.entryuuid
- The unique ID of the entry on which the Operation applies.
addModification
public void addModification(Modification mod)
- Add a modification to the list of modification included
in this fake operation.
- Specified by:
addModification
in class FakeOperation
- Parameters:
mod
- A modification that must be adde to the list of modifications
included in this fake operation.
generateMessage
public ReplicationMessage generateMessage()
- Generate a ReplicationMessage from this fake operation.
The ReplicationMessage is used to send the informations about
this operation to the other servers.
- Specified by:
generateMessage
in class FakeOperation
- Returns:
- A ReplicationMessage that can be used to send information
about this operation to remote servers.