Package ome.services.fulltext
Class PersistentEventLogLoader
- java.lang.Object
-
- ome.services.eventlogs.EventLogLoader
-
- ome.services.eventlogs.PersistentEventLogLoader
-
- ome.services.fulltext.PersistentEventLogLoader
-
- All Implemented Interfaces:
java.lang.Iterable<ome.model.meta.EventLog>,java.util.EventListener,java.util.Iterator<ome.model.meta.EventLog>,org.springframework.context.ApplicationListener
@Deprecated public class PersistentEventLogLoader extends PersistentEventLogLoader
Deprecated.EventLogLoaderimplementation which keeps tracks of the lastEventLoginstance, and always provides the next unindexed instance. Resetting that saved value would restart indexing.- Since:
- 3.0-Beta3
-
-
Field Summary
-
Fields inherited from class ome.services.eventlogs.PersistentEventLogLoader
key, sql, types
-
Fields inherited from class ome.services.eventlogs.EventLogLoader
batchSize, DEFAULT_BATCH_SIZE, excludes, query, queryService
-
-
Constructor Summary
Constructors Constructor Description PersistentEventLogLoader()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidinitialize()Deprecated.Called when the configuration database does not contain a valid current_id.voidonApplicationEvent(org.springframework.context.ApplicationEvent event)Deprecated.-
Methods inherited from class ome.services.eventlogs.PersistentEventLogLoader
deleteCurrentId, getCurrentId, getKey, more, query, setCurrentId, setKey, setSqlAction, setTypes
-
Methods inherited from class ome.services.eventlogs.EventLogLoader
addEventLog, getBatchSize, hasNext, isStopSet, iterator, lastEventLog, next, nextEventLog, remove, rollback, setBatchSize, setExcludes, setQueryService, setStop
-
-
-
-
Method Detail
-
initialize
public void initialize()
Deprecated.Called when the configuration database does not contain a valid current_id. Used to index all the data which does not have an EventLog.- Specified by:
initializein classPersistentEventLogLoader
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Deprecated.- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener- Overrides:
onApplicationEventin classEventLogLoader
-
-