net.obsearch.storage
Interface CloseIterator<O>

All Superinterfaces:
Iterator<O>
All Known Implementing Classes:
AbstractBDBOBStoreJe.ByteArrayIterator, AbstractBDBOBStoreJe.CursorIterator, AbstractTCOBStorage.ByteArrayIterator, AbstractTCOBStorage.ByteArrayKeyIterator, AbstractTCOBStorage.CursorIterator

public interface CloseIterator<O>
extends Iterator<O>

Iterator that must be closed after usage (remove locks, etc) The Iterator.remove() method will throw an error if the ranges of the iterator are not equal. That is, iff OBStore.processRange(key,key) (key = key).


Method Summary
 void closeCursor()
           
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

closeCursor

void closeCursor()
                 throws OBException
Throws:
OBException


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.