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 Iterable<JournalEntry> |
preProcessJournalEntries(Iterable<JournalEntry> entries) |
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 taskprotected Iterable<JournalEntry> preProcessJournalEntries(Iterable<JournalEntry> entries)
preProcessJournalEntries
in class AbstractJournalIndexTaskQueue<ConfluenceIndexTask>
Copyright © 2003–2016 Atlassian. All rights reserved.