public class SearchTimeLimitingMonitor extends Object implements org.apache.directory.api.ldap.model.cursor.ClosureMonitor
| Constructor and Description |
|---|
SearchTimeLimitingMonitor(long timeToLive,
TimeUnit unit)
Creates a new instance of SearchTimeLimitingMonitor.
|
public void checkNotClosed()
throws org.apache.directory.api.ldap.model.cursor.CursorClosedException
checkNotClosed in interface org.apache.directory.api.ldap.model.cursor.ClosureMonitororg.apache.directory.api.ldap.model.cursor.CursorClosedExceptionpublic void close()
close in interface org.apache.directory.api.ldap.model.cursor.ClosureMonitorpublic void close(String cause)
close in interface org.apache.directory.api.ldap.model.cursor.ClosureMonitorpublic void close(Exception cause)
close in interface org.apache.directory.api.ldap.model.cursor.ClosureMonitorpublic Exception getCause()
getCause in interface org.apache.directory.api.ldap.model.cursor.ClosureMonitorpublic boolean isClosed()
isClosed in interface org.apache.directory.api.ldap.model.cursor.ClosureMonitorCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.