Uses of Class
com.atlassian.confluence.impl.journal.JournalEntry
Package
Description
Provides implementation of Journal Service.
-
Uses of JournalEntry in com.atlassian.confluence.impl.journal
Modifier and TypeMethodDescriptionHibernateJournalDao.findEntry
(long entryId) JournalDao.findEntry
(long entryId) Finds the specified journal entry, if it exists.Modifier and TypeMethodDescriptioncom.atlassian.fugue.Option<JournalEntry>
HibernateJournalDao.findEarliestEntry()
com.atlassian.fugue.Option<JournalEntry>
JournalDao.findEarliestEntry()
Finds the earliest journal entry if any.HibernateJournalDao.findEntries
(@NonNull JournalIdentifier journalId, long afterId, long ignoreWithinMillis, int maxEntries) JournalDao.findEntries
(@NonNull 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.com.atlassian.fugue.Option<JournalEntry>
HibernateJournalDao.findLatestEntry
(@NonNull JournalIdentifier journalId, long ignoreWithinMillis) com.atlassian.fugue.Option<JournalEntry>
JournalDao.findLatestEntry
(@NonNull JournalIdentifier journalId, long ignoreWithinMillis) Finds the latest journal entry if any.com.atlassian.fugue.Option<JournalEntry>
HibernateJournalDao.findMostRecentEntryByMessage
(@NonNull JournalIdentifier journalId, String message) com.atlassian.fugue.Option<JournalEntry>
JournalDao.findMostRecentEntryByMessage
(@NonNull JournalIdentifier journalId, String message) Finds the most recent journal entry (if any) for the given journal that exactly matches the given journal entry message.DefaultJournalManager.getMostRecentId
(@NonNull JournalIdentifier journalIdentifier) JournalManager.getMostRecentId
(@NonNull JournalIdentifier journalIdentifier) Gets the most recent entry in the journal for the given journal identifierDefaultJournalManager.peek
(@NonNull JournalIdentifier journalId, int maxEntries) JournalManager.peek
(@NonNull JournalIdentifier journalId, int maxEntries) Return a copy of journal entries that are waiting to be processed.Modifier and TypeMethodDescriptionlong
DefaultJournalManager.enqueue
(@NonNull JournalEntry entry) long
HibernateJournalDao.enqueue
(@NonNull JournalEntry entry) long
JournalDao.enqueue
(@NonNull JournalEntry entry) Adds the given entry to a journal.long
JournalManager.enqueue
(@NonNull JournalEntry entry) Adds the given entry to a journal.void
HibernateJournalDao.queueWithCustomCreationDate
(JournalEntry entry, Date creationDate) void
DefaultJournalManager.setMostRecentId
(@NonNull JournalEntry journalEntry) void
JournalManager.setMostRecentId
(@NonNull JournalEntry journalEntry) Stores the most recent journal entry id in the journal storevoid
HibernateJournalDao.updateEntry
(JournalEntry journalEntry) void
JournalDao.updateEntry
(JournalEntry journalEntry) Update a persistent journal entryModifier and TypeMethodDescriptionvoid
DefaultJournalManager.enqueue
(@NonNull Collection<JournalEntry> entries) void
HibernateJournalDao.enqueue
(@NonNull Collection<JournalEntry> entries) void
JournalDao.enqueue
(@NonNull Collection<JournalEntry> entries) Adds a collection of given entries to a journal.void
JournalManager.enqueue
(@NonNull Collection<JournalEntry> entries) Adds a collection of entries to a journal.<V> V
DefaultJournalManager.processNewEntries
(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, @NonNull EntryProcessorResult<V>> entryProcessor) <V> V
JournalManager.processNewEntries
(@NonNull JournalIdentifier journalId, int maxEntries, @NonNull Function<Iterable<JournalEntry>, @NonNull EntryProcessorResult<V>> entryProcessor) Processes journal entries that were added since the last time this method was called for this journal on this cluster node. -
Uses of JournalEntry in com.atlassian.confluence.impl.upgrade.upgradetask
Modifier and TypeMethodDescriptionprotected void
SplitJournalUpgradeTask.createChangeTasks
(JournalEntryType journalEntryType, Function<JournalEntry, ConfluenceIndexTask> changeTaskCreator) Create tasks to be written to the change index for all tasks that were previously writing both change and content documents