GigaSpaces XAP 9.7.2 API

org.openspaces.admin.pu.events
Interface ProcessingUnitStatusChangedEventManager


public interface ProcessingUnitStatusChangedEventManager

An event manager allowing to add and remove ProcessingUnitStatusChangedEventListeners in order to listen for ProcessingUnitStatusChangedEvents.

Author:
kimchy
See Also:
ProcessingUnit.getProcessingUnitStatusChanged(), ProcessingUnits.getProcessingUnitStatusChanged()

Method Summary
 void add(ProcessingUnitStatusChangedEventListener eventListener)
          Adds an event listener.
 void add(ProcessingUnitStatusChangedEventListener eventListener, boolean includeExisting)
          Adds an event listener.
 void remove(ProcessingUnitStatusChangedEventListener eventListener)
          Removes an event listener.
 

Method Detail

add

void add(ProcessingUnitStatusChangedEventListener eventListener)
Adds an event listener. Note, the add callback will be called for currently discovered processing units as well.


add

void add(ProcessingUnitStatusChangedEventListener eventListener,
         boolean includeExisting)
Adds an event listener. Allows to control if the event will be called for existing processing units as well.

Since:
8.0.4

remove

void remove(ProcessingUnitStatusChangedEventListener eventListener)
Removes an event listener.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.