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, setClosureMonitor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SearchCursor(SearchFuture future, long timeout, TimeUnit timeUnit)
public SearchResponse get() throws Exception
Exception
public boolean isElementReused()
public boolean available()
public void close() throws Exception
close
in interface org.apache.directory.shared.ldap.cursor.Cursor
close
in class org.apache.directory.shared.ldap.cursor.AbstractCursor
Exception
public void close(Exception cause) throws Exception
close
in interface org.apache.directory.shared.ldap.cursor.Cursor
close
in class org.apache.directory.shared.ldap.cursor.AbstractCursor
Exception
Copyright © 2009–2015 The Apache Software Foundation. All rights reserved.