Interface CommandDistributionBehavior.DistributionRequestBuilder
- Enclosing class:
CommandDistributionBehavior
public static interface CommandDistributionBehavior.DistributionRequestBuilder
-
Method Summary
Modifier and TypeMethodDescription<T extends UnifiedRecordValue>
voiddistribute(ValueType valueType, Intent intent, T value) Distributes the command as specified.<T extends UnifiedRecordValue>
voiddistribute(TypedRecord<T> command) Distributes the command as specified.Specifies that this command will be distributed to all partitions except the local one.forPartition(int partition) Specifies the single partition that this command will be distributed to.forPartitions(Set<Integer> partitions) Specifies the partitions that this command will be distributed to.
-
Method Details
-
forPartition
Specifies the single partition that this command will be distributed to. -
forPartitions
Specifies the partitions that this command will be distributed to. -
forOtherPartitions
CommandDistributionBehavior.DistributionRequestBuilder forOtherPartitions()Specifies that this command will be distributed to all partitions except the local one. -
distribute
Distributes the command as specified. -
distribute
Distributes the command as specified.
-