public class DefaultProcessingUnitInstanceAddedEventManager extends Object implements InternalProcessingUnitInstanceAddedEventManager
Constructor and Description |
---|
DefaultProcessingUnitInstanceAddedEventManager(InternalProcessingUnitInstancesAware processingUnits,
InternalAdmin admin) |
Modifier and Type | Method and Description |
---|---|
void |
add(ProcessingUnitInstanceAddedEventListener eventListener)
Adds an event listener, events will be raised both for existing processing unit instances and
new ones.
|
void |
add(ProcessingUnitInstanceAddedEventListener eventListener,
boolean includeExisting)
Adds an event listener.
|
void |
leftShift(Object eventListener) |
void |
minus(Object eventListener) |
void |
plus(Object eventListener) |
void |
processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
A callback indicating that a Processing Unit Instance was added.
|
void |
remove(ProcessingUnitInstanceAddedEventListener eventListener)
Removes an event listener.
|
void |
rightShift(Object eventListener) |
public DefaultProcessingUnitInstanceAddedEventManager(InternalProcessingUnitInstancesAware processingUnits, InternalAdmin admin)
public void processingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
ProcessingUnitInstanceAddedEventListener
processingUnitInstanceAdded
in interface ProcessingUnitInstanceAddedEventListener
public void add(ProcessingUnitInstanceAddedEventListener eventListener, boolean includeExisting)
ProcessingUnitInstanceAddedEventManager
includeExisting
controls if events will be raised for
existing processing unit instances as well.add
in interface ProcessingUnitInstanceAddedEventManager
public void add(ProcessingUnitInstanceAddedEventListener eventListener)
ProcessingUnitInstanceAddedEventManager
add
in interface ProcessingUnitInstanceAddedEventManager
public void remove(ProcessingUnitInstanceAddedEventListener eventListener)
ProcessingUnitInstanceAddedEventManager
remove
in interface ProcessingUnitInstanceAddedEventManager
public void plus(Object eventListener)
public void leftShift(Object eventListener)
public void minus(Object eventListener)
public void rightShift(Object eventListener)
Copyright © GigaSpaces.