public class JournalIndexTaskQueue extends AbstractJournalIndexTaskQueue<ConfluenceIndexTask>
ConfluenceIndexTasks.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@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–2018 Atlassian. All rights reserved.