public class Commit extends AbstractIndexMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
Commit.CommitMode
Mode for determining how the index will be optimized.
|
DEFAULT_MAX_LOG_LENGTH, MESSAGE_DROPPED, MESSAGE_SEND_TIME_PROP, PROP_MAX_LOG_LENGTH| Constructor and Description |
|---|
Commit()
The default constructor
|
Commit(UUID cid,
String... workflows)
Constructor with a client ID and an array of workflows
|
Commit(UUID cid,
WorkflowQueue workflows)
Constructor with a client ID and a workflow queue
|
| Modifier and Type | Method and Description |
|---|---|
Commit |
clone()
Clones the object and resets message ID to -1.
|
boolean |
equals(Object other) |
Commit.CommitMode |
getMode()
Get the mode for the commit operation.
|
List<String> |
getZones()
Expert: Get the list of zones to commit as part of this message.
|
int |
hashCode() |
void |
setMode(Commit.CommitMode value)
Set the mode for the commit operation.
|
void |
setZones(List<String> value)
Expert: Set the list of zones to commit as part of this message.
|
void |
setZones(String... value)
Expert: Set the list of zones to commit as part of this message.
|
addMessageHistory, addMessageHistory, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, hasProperty, isRedelivered, removeProperty, removeWorkflowQueue, setClientId, setMessageId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddMessageHistory, addMessageHistory, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getWorkflowQueue, getWorkflowQueue, isRedelivered, removeProperty, setClientId, setMessageId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageStringpublic Commit()
public Commit(UUID cid, String... workflows)
cid - the client IDworkflows - the workflowspublic Commit(UUID cid, WorkflowQueue workflows)
cid - workflows - public Commit.CommitMode getMode()
public void setMode(Commit.CommitMode value)
public List<String> getZones()
If null or empty, then all zones will be committed.
public void setZones(List<String> value)
If null or empty, then all zones will be committed.
public void setZones(String... value)
If null or empty, then all zones will be committed.
public int hashCode()
hashCode in class AbstractPlatformMessagepublic boolean equals(Object other)
equals in class AbstractPlatformMessagepublic Commit clone()
clone in interface PlatformMessageclone in interface IndexMessageclone in class AbstractIndexMessageCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.