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)
Handle an application event.
|
deleteCurrentId, getCurrentId, getKey, more, query, setCurrentId, setKey, setSqlAction, setTypes
addEventLog, getBatchSize, hasNext, isStopSet, iterator, lastEventLog, next, nextEventLog, remove, rollback, setBatchSize, setExcludes, setQueryService, setStop
public void initialize()
initialize
in class PersistentEventLogLoader
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
org.springframework.context.ApplicationListener
onApplicationEvent
in interface org.springframework.context.ApplicationListener
onApplicationEvent
in class EventLogLoader
event
- the event to respond to
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.