Package | Description |
---|---|
com.atlassian.confluence.api.service.journal | |
com.atlassian.confluence.impl.journal |
Provides implementation of Journal Service.
|
com.atlassian.confluence.search | |
com.atlassian.confluence.search.elasticsearch | |
com.atlassian.confluence.search.elasticsearch.tasks | |
com.atlassian.confluence.search.lucene.queue | |
com.atlassian.confluence.search.lucene.tasks | |
com.atlassian.confluence.search.queue |
Modifier and Type | Method and Description |
---|---|
Iterable<JournalEntry> |
JournalService.peek(JournalIdentifier journalId,
int maxEntries)
Return a copy of journal entries that are waiting to be processed.
|
Modifier and Type | Method and Description |
---|---|
long |
JournalService.enqueue(JournalEntry entry)
Adds the given entry to a journal.
|
Modifier and Type | Method and Description |
---|---|
<V> V |
JournalService.processEntries(JournalIdentifier journalId,
int maxEntries,
com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
Processes journal entries that were added since the last time this
method was called for this journal on this cluster node.
|
Modifier and Type | Method and Description |
---|---|
Iterable<JournalEntry> |
DefaultJournalService.peek(JournalIdentifier journalId,
int maxEntries) |
Modifier and Type | Method and Description |
---|---|
long |
DefaultJournalService.enqueue(JournalEntry entry) |
Modifier and Type | Method and Description |
---|---|
<V> V |
DefaultJournalService.processEntries(JournalIdentifier journalId,
int maxEntries,
com.google.common.base.Function<Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor) |
Modifier and Type | Method and Description |
---|---|
Optional<JournalEntry> |
ConvertibleToJournalEntry.convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<JournalEntry> |
ESJournalIndexTaskQueue.toEntry(ESTask task) |
Modifier and Type | Method and Description |
---|---|
protected ESTask |
ESJournalIndexTaskQueue.toTask(JournalEntry entry) |
Modifier and Type | Method and Description |
---|---|
Optional<JournalEntry> |
ESIndexUsersInGroupTask.convertToJournalEntry(JournalIdentifier journalId) |
Optional<JournalEntry> |
ESIndexAllUsersTask.convertToJournalEntry(JournalIdentifier journalId) |
Optional<JournalEntry> |
ESDeleteTask.convertToJournalEntry(JournalIdentifier journalId) |
Optional<JournalEntry> |
ESDeleteSpaceTask.convertToJournalEntry(JournalIdentifier journalId) |
Optional<JournalEntry> |
ESDeleteContentTypeTask.convertToJournalEntry(JournalIdentifier journalId) |
Optional<JournalEntry> |
ESDeleteAllChangesTask.convertToJournalEntry(JournalIdentifier journalId) |
Optional<JournalEntry> |
AbstractESTask.convertToJournalEntry(JournalIdentifier journalId) |
Modifier and Type | Method and Description |
---|---|
protected Optional<JournalEntry> |
JournalIndexTaskQueue.toEntry(ConfluenceIndexTask task)
Converts an IndexQueueEntry to an IndexTask.
|
Modifier and Type | Method and Description |
---|---|
protected ConfluenceIndexTask |
JournalIndexTaskQueue.toTask(JournalEntry entry)
Converts an IndexQueueEntry to an IndexTask.
|
Modifier and Type | Method and Description |
---|---|
static Optional<JournalEntry> |
JournalEntryFactory.createJournalEntry(JournalIdentifier journalId,
JournalEntryType journalEntryType,
String message) |
protected abstract Optional<JournalEntry> |
AbstractJournalIndexTaskQueue.toEntry(T task)
Convert a task into a journal entry.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
AbstractJournalIndexTaskQueue.toTask(JournalEntry entry)
Convert an entry to a task.
|
Copyright © 2003–2017 Atlassian. All rights reserved.