Class ChangeSequenceNumberRequestControl

java.lang.Object
com.unboundid.ldap.sdk.Control
com.unboundid.ldap.sdk.forgerockds.controls.ChangeSequenceNumberRequestControl
All Implemented Interfaces:
Serializable

This class provides an implementation of a control that may be used to request that the server return the replication change sequence number (CSN) that it has assigned to the associated add, delete, modify, or modify DN operation.
This request control has an OID of 1.3.6.1.4.1.42.2.27.9.5.9, the criticality may be either true or false, and it does not have a value.
See Also:
  • Field Details

  • Constructor Details

    • ChangeSequenceNumberRequestControl

      Creates a new change sequence number request control. It will not be marked critical.
    • ChangeSequenceNumberRequestControl

      public ChangeSequenceNumberRequestControl(boolean isCritical)
      Creates a new change sequence number request control with the specified criticality.
      Parameters:
      isCritical - Indicates whether the control should be marked critical.
    • ChangeSequenceNumberRequestControl

      Creates a new change sequence number request control that is decoded from the provided generic control.
      Parameters:
      control - The generic control to be decoded as a change sequence number request control.
      Throws:
      LDAPException - If the provided control cannot be decoded as a change sequence number request control.
  • Method Details

    • getControlName

      Retrieves the user-friendly name for this control, if available. If no user-friendly name has been defined, then the OID will be returned.
      Overrides:
      getControlName in class Control
      Returns:
      The user-friendly name for this control, or the OID if no user-friendly name is available.
    • toString

      public void toString(@NotNull StringBuilder buffer)
      Appends a string representation of this LDAP control to the provided buffer.
      Overrides:
      toString in class Control
      Parameters:
      buffer - The buffer to which to append the string representation of this buffer.