org.apache.directory.mitosis.store
Interface ReplicationLogIterator


public interface ReplicationLogIterator

Iterates a set of Operations, which is a result of a query on ReplicationStore. It's usage is similar to that of JDBC ResultSet.

Version:
$Rev$, $Date$
Author:
The Apache Directory Project (dev@directory.apache.org)

Method Summary
 void close()
          Releases all resources allocated to this iterator.
 Operation getOperation(Registries registries)
          Returns the Operation on the current iterator position.
 boolean next()
          Move on to the next item.
 

Method Detail

next

boolean next()
Move on to the next item.

Returns:
true if and only if it has more item.

close

void close()
Releases all resources allocated to this iterator.


getOperation

Operation getOperation(Registries registries)
Returns the Operation on the current iterator position.



Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.