com.unboundid.directory.sdk.ds.types
Interface ChangeSubscription


@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface ChangeSubscription

This interface defines a set of methods that may be used to interact with a change subscription that has been defined in the server.


Method Summary
 java.lang.String getDN()
          Retrieves the DN of the configuration entry defining this change subscription.
 long getExpirationTime()
          Retrieves the expiration time for this change subscription.
 java.lang.String getName()
          Retrieves the name of this change subscription.
 

Method Detail

getName

java.lang.String getName()
Retrieves the name of this change subscription.

Returns:
The name of this change subscription.

getDN

java.lang.String getDN()
Retrieves the DN of the configuration entry defining this change subscription.

Returns:
The DN of the configuration entry defining this change subscription.

getExpirationTime

long getExpirationTime()
Retrieves the expiration time for this change subscription. The value returned will be an offset in milliseconds since 12:00 a.m. on January 1, 1970.

Returns:
The expiration time for this change subscription, or Long.MAX_VALUE if none is defined.