|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.xdbm.AbstractTupleCursor<K,V>
public abstract class AbstractTupleCursor<K,V>
An abstract TupleCursor.
| Constructor Summary | |
|---|---|
AbstractTupleCursor()
|
|
| Method Summary | |
|---|---|
protected void |
checkNotClosed(java.lang.String operation)
|
void |
close()
Closes this Cursor and frees any resources it my have allocated. |
void |
close(java.lang.Exception cause)
Closes this Cursor and frees any resources it my have allocated. |
boolean |
isClosed()
Checks if this Curser is closed. |
java.util.Iterator<Tuple<K,V>> |
iterator()
|
void |
setClosureMonitor(ClosureMonitor monitor)
Sets a non-null closure monitor to associate with this Cursor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.server.xdbm.TupleCursor |
|---|
afterKey, afterValue, beforeKey, beforeValue |
| Methods inherited from interface org.apache.directory.server.core.cursor.Cursor |
|---|
after, afterLast, available, before, beforeFirst, first, get, isElementReused, last, next, previous |
| Constructor Detail |
|---|
public AbstractTupleCursor()
| Method Detail |
|---|
public final void setClosureMonitor(ClosureMonitor monitor)
Cursor
setClosureMonitor in interface Cursor<Tuple<K,V>>monitor - the monitor to use for detecting Cursor close events
protected final void checkNotClosed(java.lang.String operation)
throws java.lang.Exception
java.lang.Exceptionpublic final boolean isClosed()
Cursor
isClosed in interface Cursor<Tuple<K,V>>
public void close()
throws java.lang.Exception
Cursor
close in interface Cursor<Tuple<K,V>>java.lang.Exception - if for some reason this Cursor could not be closed
public void close(java.lang.Exception cause)
throws java.lang.Exception
Cursor
close in interface Cursor<Tuple<K,V>>cause - exception thrown when this Cursor is accessed after close
java.lang.Exception - if for some reason this Cursor could not be closedpublic java.util.Iterator<Tuple<K,V>> iterator()
iterator in interface java.lang.Iterable<Tuple<K,V>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||