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
Fields inherited from class org.nuxeo.ecm.core.api.CursorResult
batchSize, cursor, keepAliveSeconds, lastCallTimestamp
-
Constructor Summary
ConstructorDescriptionSQLAuditCursorResult
(QueryBuilder builder, int batchSize, int keepAliveSeconds) -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.api.CursorResult
getBatchSize, getCursor, timedOut, touch
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:CursorResult
CAUTION: if your cursor doesn't implementCloseable
, we just set the field to null- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classCursorResult<Iterator<LogEntry>,
LogEntry>
-