ome.services.fulltext
Class PersistentEventLogLoader
java.lang.Object
ome.services.eventlogs.EventLogLoader
ome.services.eventlogs.PersistentEventLogLoader
ome.services.fulltext.PersistentEventLogLoader
- All Implemented Interfaces:
- Iterable<ome.model.meta.EventLog>, EventListener, Iterator<ome.model.meta.EventLog>, org.springframework.context.ApplicationListener
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.
- Since:
- 3.0-Beta3
- Author:
- Josh Moore, josh at glencoesoftware.com
Method Summary |
void |
initialize()
Called when the configuration database does not contain a valid
current_id. |
Methods inherited from class ome.services.eventlogs.EventLogLoader |
addEventLog, getBatchSize, hasNext, iterator, lastEventLog, next, nextEventLog, onApplicationEvent, remove, rollback, setBatchSize, setExcludes, setQueryService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentEventLogLoader
public PersistentEventLogLoader()
initialize
public void initialize()
- 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:
initialize
in class PersistentEventLogLoader
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.