Class ModifyCommonMsg
java.lang.Object
org.opends.server.replication.protocol.ReplicationMsg
org.opends.server.replication.protocol.UpdateMsg
org.opends.server.replication.protocol.LDAPUpdateMsg
org.opends.server.replication.protocol.ModifyCommonMsg
- All Implemented Interfaces:
Comparable<UpdateMsg>
- Direct Known Subclasses:
ModifyDNMsg,ModifyMsg
This class holds every common code for the modify messages (mod, moddn).
-
Field Summary
Fields inherited from class org.opends.server.replication.protocol.ReplicationMsg
MSG_TYPE_DISK_ENCODING -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendEncodedMods(ByteStringBuilder builder) Appends the encoded modifications to the provided builder.getMods()Get the Modifications associated to the UpdateMsg to the provided value.voidsetMods(List<Modification> mods) Set the Modification associated to the UpdateMsg to the provided value.Methods inherited from class org.opends.server.replication.protocol.LDAPUpdateMsg
appendEclIncludes, createRequest, createRequest, generateMsg, getBytes, getBytesLatest, getDN, getEclIncludes, getEntryUUID, setDN, setEclIncludes, size, toJson, toStringMethods inherited from class org.opends.server.replication.protocol.UpdateMsg
accept, compareTo, equals, getBytes, getCSN, getVersion, hashCodeMethods inherited from class org.opends.server.replication.protocol.ReplicationMsg
decodeMsg, isRetryable
-
Method Details
-
setMods
Set the Modification associated to the UpdateMsg to the provided value.- Parameters:
mods- The new Modification associated to this ModifyMsg.
-
getMods
Get the Modifications associated to the UpdateMsg to the provided value.- Returns:
- the list of modifications
- Throws:
IOException- In case of ASN1 decoding exception
-
appendEncodedMods
Appends the encoded modifications to the provided builder.- Parameters:
builder- TheByteStringBuilderwhere the encoded modifications will be appended.
-