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(org.springframework.context.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(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
onApplicationEvent
in class EventLogLoader
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.