Package ome.services.eventlogs
Class AllEntitiesPseudoLogLoader<T extends ome.model.IObject>
- java.lang.Object
-
- ome.services.eventlogs.EventLogLoader
-
- ome.services.eventlogs.AllEntitiesPseudoLogLoader<T>
-
- 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 AllEntitiesPseudoLogLoader<T extends ome.model.IObject> extends EventLogLoader
EventLogLoader
which iterates through each object model type (in no particular order) and returns each object from lowest to highest id.- 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 AllEntitiesPseudoLogLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
more()
Returns the number of classes which are still unprocessed as a proxy for how much is left to process.protected ome.model.meta.EventLog
query()
void
setClasses(java.util.Set<java.lang.String> classes)
protected ome.model.meta.EventLog
wrap(java.lang.String cls, ome.model.IObject obj)
-
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
-
setClasses
public void setClasses(java.util.Set<java.lang.String> classes)
-
query
protected ome.model.meta.EventLog query()
- Specified by:
query
in classEventLogLoader
-
more
public long more()
Returns the number of classes which are still unprocessed as a proxy for how much is left to process.- Specified by:
more
in classEventLogLoader
-
wrap
protected ome.model.meta.EventLog wrap(java.lang.String cls, ome.model.IObject obj)
-
-