public class JournalIndexTaskQueue extends AbstractJournalIndexTaskQueue<ConfluenceIndexTask>
ConfluenceIndexTask
s.anyTypeDao, indexFlushRequester, JOURNAL_ID, journalService
Constructor and Description |
---|
JournalIndexTaskQueue(JournalService journalService,
IndexTaskFactory indexTaskFactory,
AnyTypeDao anyTypeDao)
Deprecated.
since 5.9.0
|
JournalIndexTaskQueue(JournalService journalService,
IndexTaskFactory indexTaskFactory,
AnyTypeDao anyTypeDao,
IndexFlushRequester indexFlushRequester) |
Modifier and Type | Method and Description |
---|---|
protected Optional<JournalEntry> |
toEntry(ConfluenceIndexTask task)
Converts an IndexQueueEntry to an IndexTask.
|
protected ConfluenceIndexTask |
toTask(JournalEntry entry)
Converts an IndexQueueEntry to an IndexTask.
|
enqueue, enqueueAll, flushQueue, flushQueue, flushQueue, flushQueue, flushQueueWithActionOnIterableOfTasks, getQueuedEntries, getSize, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flushAndExecute, flushAndExecute
@Deprecated public JournalIndexTaskQueue(JournalService journalService, IndexTaskFactory indexTaskFactory, AnyTypeDao anyTypeDao)
public JournalIndexTaskQueue(JournalService journalService, IndexTaskFactory indexTaskFactory, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester)
protected ConfluenceIndexTask toTask(JournalEntry entry)
toTask
in class AbstractJournalIndexTaskQueue<ConfluenceIndexTask>
entry
- a journal entry.NoOpIndexTask
if the entry is invalid (say the
searchable for an add task no longer exists).protected Optional<JournalEntry> toEntry(ConfluenceIndexTask task)
toEntry
in class AbstractJournalIndexTaskQueue<ConfluenceIndexTask>
task
- a taskCopyright © 2003–2019 Atlassian. All rights reserved.