@Internal public class ESDeleteTask extends Object implements ESTask
Modifier and Type | Field and Description |
---|---|
protected long |
order |
Constructor and Description |
---|
ESDeleteTask(HibernateHandle handle) |
Modifier and Type | Method and Description |
---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
long |
getOrder() |
void |
perform(ESIndexRequestProcessor processor)
Perform this task with the specified ES Task processor.
|
void |
setOrder(long order)
Set order of the task used for optimistic concurrency control
|
public ESDeleteTask(HibernateHandle handle)
public long getOrder()
public void setOrder(long order)
ESTask
public String getDescription()
IndexTask
getDescription
in interface IndexTask
public void perform(ESIndexRequestProcessor processor)
ESTask
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
convertToJournalEntry
in interface ConvertibleToJournalEntry
journalId
- journal identifierCopyright © 2003–2015 Atlassian. All rights reserved.