Package | Description |
---|---|
com.atlassian.confluence.impl.journal |
Provides implementation of Journal Service.
|
Modifier and Type | Method and Description |
---|---|
JournalEntry |
JournalDao.findEntry(long entryId)
Finds the specified journal entry, if it exists.
|
JournalEntry |
HibernateJournalDao.findEntry(long entryId) |
Modifier and Type | Method and Description |
---|---|
List<JournalEntry> |
JournalDao.findEntries(JournalIdentifier journalId,
long afterId,
long ignoreWithinMillis,
int maxEntries)
Finds journal entries that were added after an entry with the given id
but earlier than given milliseconds ago.
|
List<JournalEntry> |
HibernateJournalDao.findEntries(JournalIdentifier journalId,
long afterId,
long ignoreWithinMillis,
int maxEntries) |
com.atlassian.fugue.Option<JournalEntry> |
JournalDao.findLatestEntry(JournalIdentifier journalId,
long ignoreWithinMillis)
Finds the latest journal entry if any.
|
com.atlassian.fugue.Option<JournalEntry> |
HibernateJournalDao.findLatestEntry(JournalIdentifier journalId,
long ignoreWithinMillis) |
com.atlassian.fugue.Option<JournalEntry> |
JournalDao.findMostRecentEntryByMessage(JournalIdentifier journalId,
String message)
Finds the most recent journal entry (if any) for the given journal that
exactly matches the given journal entry message.
|
com.atlassian.fugue.Option<JournalEntry> |
HibernateJournalDao.findMostRecentEntryByMessage(JournalIdentifier journalId,
String message) |
Iterable<JournalEntry> |
DefaultJournalManager.peek(JournalIdentifier journalId,
int maxEntries) |
Iterable<JournalEntry> |
JournalManager.peek(JournalIdentifier journalId,
int maxEntries)
Return a copy of journal entries that are waiting to be processed.
|
Modifier and Type | Method and Description |
---|---|
long |
JournalDao.enqueue(JournalEntry entry)
Adds the given entry to a journal.
|
long |
DefaultJournalManager.enqueue(JournalEntry entry) |
long |
HibernateJournalDao.enqueue(JournalEntry entry) |
long |
JournalManager.enqueue(JournalEntry entry)
Adds the given entry to a journal.
|
void |
HibernateJournalDao.queueWithCustomCreationDate(JournalEntry entry,
Date creationDate) |
Modifier and Type | Method and Description |
---|---|
<V> V |
DefaultJournalManager.processEntries(JournalIdentifier journalId,
int maxEntries,
com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor) |
<V> V |
JournalManager.processEntries(JournalIdentifier journalId,
int maxEntries,
com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
Processes journal entries that were added since the last time this
method was called for this journal on this cluster node.
|
Copyright © 2003–2017 Atlassian. All rights reserved.