Package ome.services.eventlogs
Class AllEventsLogLoader
- java.lang.Object
-
- ome.services.eventlogs.EventLogLoader
-
- ome.services.eventlogs.AllEventsLogLoader
-
- All Implemented Interfaces:
java.lang.Iterable<ome.model.meta.EventLog>
,java.util.EventListener
,java.util.Iterator<ome.model.meta.EventLog>
,org.springframework.context.ApplicationListener
public class AllEventsLogLoader extends EventLogLoader
- Since:
- 3.0-Beta3
-
-
Field Summary
-
Fields inherited from class ome.services.eventlogs.EventLogLoader
batchSize, DEFAULT_BATCH_SIZE, excludes, log, query, queryService
-
-
Constructor Summary
Constructors Constructor Description AllEventsLogLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
more()
Should return an estimate of how many moreEventLog
instances are available for processing.protected ome.model.meta.EventLog
query()
-
Methods inherited from class ome.services.eventlogs.EventLogLoader
addEventLog, getBatchSize, hasNext, isStopSet, iterator, lastEventLog, next, nextEventLog, onApplicationEvent, remove, rollback, setBatchSize, setExcludes, setQueryService, setStop
-
-
-
-
Method Detail
-
query
protected ome.model.meta.EventLog query()
- Specified by:
query
in classEventLogLoader
-
more
public long more()
Description copied from class:EventLogLoader
Should return an estimate of how many moreEventLog
instances are available for processing. Some implementations may attempt to take extra measures if the number is too large. Use 1 for a constant rather thanLong.MAX_VALUE
. Use 0 to stop execution.- Specified by:
more
in classEventLogLoader
-
-