public interface PartitionTriggerListener
| Modifier and Type | Method and Description |
|---|---|
void |
onPartitionChange(Map<String,List<String>> partition,
Map<String,List<String>> removed,
Map<String,List<String>> added)
Invoked when the topology has changed in the partition.
|
void |
onTriggerChange(PartitionManager.Operation operation,
String tenantId,
String triggerId)
Invoked on the node that holds the trigger when a trigger has been added, modified or removed.
|
void onTriggerChange(PartitionManager.Operation operation, String tenantId, String triggerId)
operation - the operation performed on the TriggertenantId - Tenant where Trigger is storedtriggerId - Trigger idvoid onPartitionChange(Map<String,List<String>> partition, Map<String,List<String>> removed, Map<String,List<String>> added)
partition - a Map with the local partition of triggers hold by this node after calculationremoved - a Map with the triggers removed from an old partition after calculationadded - a Map with the triggers added from an old partition after calculationCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.