Class DefaultAuditBackend.SQLAuditCursorResult
java.lang.Object
org.nuxeo.ecm.core.api.CursorResult<Iterator<LogEntry>,LogEntry>
org.nuxeo.ecm.platform.audit.service.DefaultAuditBackend.SQLAuditCursorResult
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<LogEntry>
- Enclosing class:
DefaultAuditBackend
public class DefaultAuditBackend.SQLAuditCursorResult
extends CursorResult<Iterator<LogEntry>,LogEntry>
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.core.api.CursorResult
batchSize, cursor, keepAliveSeconds, lastCallTimestamp -
Constructor Summary
ConstructorsConstructorDescriptionSQLAuditCursorResult(QueryBuilder builder, int batchSize, int keepAliveSeconds) -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.api.CursorResult
getBatchSize, getCursor, timedOut, touchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
builder
-
pageNb
protected long pageNb -
end
protected boolean end
-
-
Constructor Details
-
SQLAuditCursorResult
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
runNextPage
protected void runNextPage() -
close
public void close()Description copied from class:CursorResultCAUTION: if your cursor doesn't implementCloseable, we just set the field to null- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classCursorResult<Iterator<LogEntry>,LogEntry>
-