public class PersistentEventLogLoader extends PersistentEventLogLoader
EventLogLoader
implementation which keeps tracks of the last
EventLog
instance, and always provides the next unindexed instance.
Reseting that saved value would restart indexing.key, sql, types
batchSize, DEFAULT_BATCH_SIZE, excludes, query, queryService
Constructor and Description |
---|
PersistentEventLogLoader() |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Called when the configuration database does not contain a valid
current_id.
|
void |
onApplicationEvent(ApplicationEvent event) |
deleteCurrentId, getCurrentId, getKey, more, query, setCurrentId, setKey, setSqlAction, setTypes
addEventLog, getBatchSize, hasNext, isStopSet, iterator, lastEventLog, next, nextEventLog, remove, rollback, setBatchSize, setExcludes, setQueryService, setStop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public void initialize()
initialize
in class PersistentEventLogLoader
public void onApplicationEvent(ApplicationEvent event)
onApplicationEvent
in interface ApplicationListener
onApplicationEvent
in class EventLogLoader
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.