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

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

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class ChangeTimeStartingPoint
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 specified time. The first change of the batch will be the first change on any server with a change time greater than or equal to the specified time.

See Also:
Serialized Form

Constructor Summary
ChangeTimeStartingPoint(long changeTime)
          Creates a new instance of this changelog starting point using the provided start time.
 
Method Summary
 ASN1Element encode()
          Encodes this starting point value to an ASN.1 element suitable for inclusion in a changelog batch extended request.
 long getChangeTime()
          Retrieves the time of the oldest change which may be used as the starting point for the batch of changes.
 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

ChangeTimeStartingPoint

public ChangeTimeStartingPoint(long changeTime)
Creates a new instance of this changelog starting point using the provided start time.

Parameters:
changeTime - The time of the oldest change which may be used as the starting point for the batch of changes.
Method Detail

getChangeTime

public long getChangeTime()
Retrieves the time of the oldest change which may be used as the starting point for the batch of changes.

Returns:
The time of the oldest change which may be used as the starting point for the batch of changes.

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.