public interface PartitionListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
onPartitionEvent(PartitionEvent evt)
Invoked when a partition event has occurred.
|
void onPartitionEvent(PartitionEvent evt)
This interface should be considered as a very advanced feature, so a PartitionListener implementation must exercise extreme caution during event processing since any delay or unhandled exception could cause a delay in or complete shutdown of the corresponding partitioned service.
evt
- the PartitionEvent object containing the information about the event that has occurred