com.unboundid.ldap.sdk.unboundidds.extensions
Class ResumeWithCSNStartingPoint

java.lang.Object
  extended by com.unboundid.ldap.sdk.unboundidds.extensions.ChangelogBatchStartingPoint
      extended by com.unboundid.ldap.sdk.unboundidds.extensions.ResumeWithCSNStartingPoint
All Implemented Interfaces:
java.io.Serializable

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class ResumeWithCSNStartingPoint
extends ChangelogBatchStartingPoint

NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.
This class provides an implementation of a changelog batch starting point which may be used to start a batch of changes at a change identified by a replication CSN. The first change of the batch will be the change with this CSN.

See Also:
Serialized Form

Constructor Summary
ResumeWithCSNStartingPoint(java.lang.String csn)
          Creates a new instance of this changelog batch starting point using the provided replication CSN.
 
Method Summary
 ASN1Element encode()
          Encodes this starting point value to an ASN.1 element suitable for inclusion in a changelog batch extended request.
 java.lang.String getCSN()
          Retrieves the replication CSN which may be used to define the starting point for the get changelog batch request.
 void toString(java.lang.StringBuilder buffer)
          Appends a string representation of this changelog batch starting point to the provided buffer.
 
Methods inherited from class com.unboundid.ldap.sdk.unboundidds.extensions.ChangelogBatchStartingPoint
decode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResumeWithCSNStartingPoint

public ResumeWithCSNStartingPoint(java.lang.String csn)
Creates a new instance of this changelog batch starting point using the provided replication CSN.

Parameters:
csn - The replication CSN which may be used to define the starting point for the get changelog batch request. It must not be null.
Method Detail

getCSN

public java.lang.String getCSN()
Retrieves the replication CSN which may be used to define the starting point for the get changelog batch request.

Returns:
The replication CSN which may be used to define the starting point for the get changelog batch request.

encode

public ASN1Element encode()
Encodes this starting point value to an ASN.1 element suitable for inclusion in a changelog batch extended request.

Specified by:
encode in class ChangelogBatchStartingPoint
Returns:
The encoded representation of this starting point value.

toString

public void toString(java.lang.StringBuilder buffer)
Appends a string representation of this changelog batch starting point to the provided buffer.

Specified by:
toString in class ChangelogBatchStartingPoint
Parameters:
buffer - The buffer to which the information should be appended.