java.lang.Object | |
↳ | org.apache.helix.Criteria |
Describes various properties that operations involving Message delivery will follow.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Criteria.DataSource |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the current source of truth
| |||||||||||
Get the name of the destination instance, available only for PARTICIPANT
| |||||||||||
Get the destination partition name
| |||||||||||
Get the state of a resource partition
| |||||||||||
Determine the type of the recipient
| |||||||||||
Get the destination resource name
| |||||||||||
Determine if the message is excluded from being sent to the sender
| |||||||||||
Determine if this message should be processed only if an instance was up at send time
| |||||||||||
Set the current source of truth
| |||||||||||
Set the name of the destination instance (PARTICIPANT only)
| |||||||||||
Set the destination partition name
| |||||||||||
Set the state of the resource partition
| |||||||||||
Set the type of the recipient
| |||||||||||
Set the destination resource name
| |||||||||||
Indicate whether or not the sender will be excluded as a message recipient
| |||||||||||
Indicate whether or not a message should be restricted to a session
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get the current source of truth
Get the name of the destination instance, available only for PARTICIPANT
Get the state of a resource partition
Determine the type of the recipient
Determine if the message is excluded from being sent to the sender
Determine if this message should be processed only if an instance was up at send time
Set the current source of truth
source | ideal state or external view |
---|
Set the name of the destination instance (PARTICIPANT only)
instanceName | the instance name or % for all instances |
---|
Set the destination partition name
partitionName | the partition name, or % for all partitions of a resource |
---|
Set the state of the resource partition
partitionState | the state of the resource partition |
---|
Set the type of the recipient
recipientInstanceType | InstanceType (e.g. PARTICIPANT, CONTROLLER, SPECTATOR) |
---|
Set the destination resource name
resourceName | the resource name or % for all resources |
---|
Indicate whether or not the sender will be excluded as a message recipient
selfExcluded | true if the sender should be excluded, false otherwise |
---|
Indicate whether or not a message should be restricted to a session
sessionSpecific | true if the message can only be processed by live nodes at send time, false otherwise |
---|