Class ReplicationRepairRequestControl
- java.lang.Object
-
- org.opends.server.types.Control
-
- org.opends.server.replication.plugin.ReplicationRepairRequestControl
-
public class ReplicationRepairRequestControl extends Control
This class implements the Sun-defined replication repair control. This control can be used to modify the content of a replicated database on a single server without impacting the other servers that are replicated with this server. It also allows to modify attributes like entryuuid and ds-sync-hist that are normally not modifiable from an external connection.
-
-
Field Summary
Fields Modifier and Type Field Description static ControlDecoder<ReplicationRepairRequestControl>DECODERThe Control Decoder that can be used to decode this control.static StringOID_REPLICATION_REPAIR_CONTROLThe OID of the Replication repair Control.
-
Constructor Summary
Constructors Constructor Description ReplicationRepairRequestControl()Creates a new instance of the replication repair request control with the default settings.ReplicationRepairRequestControl(boolean isCritical)Creates a new instance of the replication repair control with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtoString(StringBuilder buffer)Appends a string representation of this control to the provided buffer.protected voidwriteValue(ASN1Writer writer)Writes this control value to an ASN.1 writer.-
Methods inherited from class org.opends.server.types.Control
getOID, isCritical, toString, write
-
-
-
-
Field Detail
-
DECODER
public static final ControlDecoder<ReplicationRepairRequestControl> DECODER
The Control Decoder that can be used to decode this control.
-
OID_REPLICATION_REPAIR_CONTROL
public static final String OID_REPLICATION_REPAIR_CONTROL
The OID of the Replication repair Control.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReplicationRepairRequestControl
public ReplicationRepairRequestControl()
Creates a new instance of the replication repair request control with the default settings.
-
ReplicationRepairRequestControl
public ReplicationRepairRequestControl(boolean isCritical)
Creates a new instance of the replication repair control with the provided information.- Parameters:
isCritical- Indicates whether support for this control should be considered a critical part of the client processing.
-
-
Method Detail
-
writeValue
protected void writeValue(ASN1Writer writer) throws IOException
Writes this control value to an ASN.1 writer. The value (if any) must be written as an ASN1OctetString.- Specified by:
writeValuein classControl- Parameters:
writer- The ASN.1 writer to use.- Throws:
IOException- If a problem occurs while writing to the stream.
-
toString
public void toString(StringBuilder buffer)
Description copied from class:ControlAppends a string representation of this control to the provided buffer.
-
-