public class DefaultOrphanProcessingUnitInstanceLifecycleEventManager extends Object implements InternalOrphanProcessingUnitInstanceLifecycleEventManager
Constructor and Description |
---|
DefaultOrphanProcessingUnitInstanceLifecycleEventManager(InternalOrphanProcessingUnitInstancesAware instances,
InternalAdmin admin) |
Modifier and Type | Method and Description |
---|---|
void |
add(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener)
Adds an event listener.
|
void |
add(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener,
boolean includeExisting) |
void |
orphanProcessingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
A callback indicating that an Orphaned Processing Unit Instance was added.
|
void |
orphanProcessingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance)
A callback indicating that an Orphaned Processing Unit Instance was removed.
|
void |
remove(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener)
Removes an event listener.
|
public DefaultOrphanProcessingUnitInstanceLifecycleEventManager(InternalOrphanProcessingUnitInstancesAware instances, InternalAdmin admin)
public void orphanProcessingUnitInstanceRemoved(ProcessingUnitInstance processingUnitInstance)
InternalOrphanProcessingUnitInstanceLifecycleEventListener
orphanProcessingUnitInstanceRemoved
in interface InternalOrphanProcessingUnitInstanceLifecycleEventListener
public void orphanProcessingUnitInstanceAdded(ProcessingUnitInstance processingUnitInstance)
InternalOrphanProcessingUnitInstanceLifecycleEventListener
orphanProcessingUnitInstanceAdded
in interface InternalOrphanProcessingUnitInstanceLifecycleEventListener
public void add(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener)
InternalOrphanProcessingUnitInstanceLifecycleEventManager
add
in interface InternalOrphanProcessingUnitInstanceLifecycleEventManager
public void add(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener, boolean includeExisting)
add
in interface InternalOrphanProcessingUnitInstanceLifecycleEventManager
public void remove(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener)
InternalOrphanProcessingUnitInstanceLifecycleEventManager
remove
in interface InternalOrphanProcessingUnitInstanceLifecycleEventManager
Copyright © GigaSpaces.