public class SearchCursor
extends org.apache.directory.shared.ldap.cursor.AbstractCursor
| Constructor and Description |
|---|
SearchCursor(SearchFuture future,
long timeout,
TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(Object element) |
void |
afterLast() |
boolean |
available() |
void |
before(Object element) |
void |
beforeFirst() |
void |
close() |
void |
close(Exception cause) |
boolean |
first() |
SearchResponse |
get() |
boolean |
isElementReused() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
checkNotClosed, isClosed, iterator, setClosureMonitorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SearchCursor(SearchFuture future, long timeout, TimeUnit timeUnit)
public SearchResponse get() throws Exception
Exceptionpublic boolean isElementReused()
public boolean available()
public void close()
throws Exception
close in interface org.apache.directory.shared.ldap.cursor.Cursorclose in class org.apache.directory.shared.ldap.cursor.AbstractCursorExceptionpublic void close(Exception cause) throws Exception
close in interface org.apache.directory.shared.ldap.cursor.Cursorclose in class org.apache.directory.shared.ldap.cursor.AbstractCursorExceptionCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.