public class JournalEventReader extends Object
| Constructor and Description |
|---|
JournalEventReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
rememberLastProcessedJournalRevision(String key)
Stores in a dedicated properties file the last processed journal revision.
|
void |
replayMissedEvents(DefaultEventListener listener,
String key)
Reads the JCR events directly from the JCR journal and passes them to the specified listener.
|
void |
setSettingsBean(SettingsBean settingsBean) |
public void rememberLastProcessedJournalRevision(String key)
key - the key is associate to the last processed journal revision value, it allow to identify the propertypublic void replayMissedEvents(DefaultEventListener listener, String key)
listener - the listener to call with the read eventskey - the key is associate to the last processed journal revision value, it allow to identify the propertypublic void setSettingsBean(SettingsBean settingsBean)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.