@Internal public class ESJournalIndexTaskQueue extends AbstractJournalIndexTaskQueue<ESTask>
ESTask
s.anyTypeDao, indexFlushRequester, JOURNAL_ID, journalService
Constructor and Description |
---|
ESJournalIndexTaskQueue(JournalService journalService,
AnyTypeDao anyTypeDao,
IndexFlushRequester indexFlushRequester,
ESIndexTaskFactory esIndexTaskFactory) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<JournalEntry> |
preProcessJournalEntries(Iterable<JournalEntry> entries) |
protected Optional<JournalEntry> |
toEntry(ESTask task)
Convert a task into a journal entry.
|
protected ESTask |
toTask(JournalEntry entry)
Convert an entry to a task.
|
enqueue, enqueueAll, flushQueue, flushQueue, flushQueue, flushQueue, flushQueueWithActionOnIterableOfTasks, getQueuedEntries, getSize, reset
public ESJournalIndexTaskQueue(JournalService journalService, AnyTypeDao anyTypeDao, IndexFlushRequester indexFlushRequester, ESIndexTaskFactory esIndexTaskFactory)
protected ESTask toTask(JournalEntry entry)
AbstractJournalIndexTaskQueue
toTask
in class AbstractJournalIndexTaskQueue<ESTask>
entry
- a journal entry.protected Optional<JournalEntry> toEntry(ESTask task)
AbstractJournalIndexTaskQueue
toEntry
in class AbstractJournalIndexTaskQueue<ESTask>
task
- a taskprotected Iterable<JournalEntry> preProcessJournalEntries(Iterable<JournalEntry> entries)
preProcessJournalEntries
in class AbstractJournalIndexTaskQueue<ESTask>
Copyright © 2003–2016 Atlassian. All rights reserved.