Class ConnectionChangeRecordWriter

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable, ChangeRecordWriter

    public final class ConnectionChangeRecordWriter
    extends Object
    implements ChangeRecordWriter
    A ConnectionChangeRecordWriter is a bridge from Connections to ChangeRecordWriters. A connection change record writer writes change records by sending appropriate update requests (Add, Delete, Modify, or ModifyDN) to an underlying connection.

    All update requests are performed synchronously, blocking until an update result is received. If an update result indicates that an update request has failed for some reason then the error result is propagated to the caller using an LdapException.

    Note: comments are not supported by connection change record writers. Attempts to write comments will be ignored.