Package org.apache.directory.server.core.cursor

Interface Summary
ClosureMonitor A monitor used by Cursors to detect conditions when they should stop performing some work during advance operations such as next(), previous(), first() etc, and release resources.
Cursor<E> A Cursor for bidirectional traversal over elements in a dataset.
CursorState<E> A Cursor's state: cursor states leverage the State Pattern to isolate state specific transition logic with certain operations.
 

Class Summary
AbstractCursor<E> Simple class that contains often used Cursor code.
CursorIterator<E> An Iterator over a Cursor so Cursors can be Iterable for using in foreach constructs.
DefaultClosureMonitor A basic ClosureMonitor that simply uses a boolean for state and a cause exception.
EmptyCursor<E> An empty Cursor implementation.
IteratorCursor<E> A limited Cursor over an Iterator of elements.
ListCursor<E> A simple implementation of a Cursor on a List.
SingletonCursor<E> A Cursor over a single element.
 

Enum Summary
CursorStateEnum An enumeration to represent the various states of a Cursor.
 

Exception Summary
CursorClosedException A specific form of IOException to note that an operation is being attempted on a closed Cursor.
InconsistentCursorStateException Thrown to indicate a condition in the Cursor where the state seems inconsistent based on internal accounting.
InvalidCursorPositionException Thrown to indicate an illegal position state for a Cursor when a call to get is made.
 



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