mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
22.13.2013 67649485a8b644abfc3f0ab7890df02d6e9fe2e8
opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationIterator.java
@@ -26,13 +26,15 @@
 */
package org.opends.server.replication.server.changelog.api;
import java.io.Closeable;
import org.opends.server.replication.protocol.UpdateMsg;
/**
 * This interface allows to iterate through the changes received from a given
 * LDAP Server Identifier.
 */
public interface ReplicationIterator
public interface ReplicationIterator extends Closeable
{
  /**
@@ -55,6 +57,7 @@
   * called when the iterator is no longer used. Failure to do it could cause DB
   * deadlock.
   */
  void releaseCursor();
  @Override
  void close();
}