public class DefaultProcessingUnitInstances extends Object implements InternalProcessingUnitInstances
Constructor and Description |
---|
DefaultProcessingUnitInstances(InternalAdmin admin) |
Modifier and Type | Method and Description |
---|---|
void |
addInstance(ProcessingUnitInstance processingUnitInstance) |
void |
addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener) |
boolean |
contains(ProcessingUnitInstance processingUnitInstance) |
ProcessingUnitInstance |
getInstanceByUID(String processingUnitInstanceUid) |
ProcessingUnitInstance[] |
getInstances() |
ProcessingUnitInstance[] |
getInstances(String processingUnitName) |
Iterator<ProcessingUnitInstance> |
getInstancesIt() |
ProcessingUnitInstanceAddedEventManager |
getProcessingUnitInstanceAdded() |
ProcessingUnitInstanceRemovedEventManager |
getProcessingUnitInstanceRemoved() |
ProcessingUnitInstance[] |
getProcessingUnitInstances() |
ProcessingUnitInstance |
removeInstance(String uid) |
void |
removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener) |
public DefaultProcessingUnitInstances(InternalAdmin admin)
public boolean contains(ProcessingUnitInstance processingUnitInstance)
contains
in interface InternalProcessingUnitInstances
public void addInstance(ProcessingUnitInstance processingUnitInstance)
addInstance
in interface InternalProcessingUnitInstances
public ProcessingUnitInstance removeInstance(String uid)
removeInstance
in interface InternalProcessingUnitInstances
public Iterator<ProcessingUnitInstance> getInstancesIt()
getInstancesIt
in interface InternalProcessingUnitInstances
public ProcessingUnitInstance[] getProcessingUnitInstances()
getProcessingUnitInstances
in interface InternalProcessingUnitInstancesAware
public ProcessingUnitInstance[] getInstances()
getInstances
in interface InternalProcessingUnitInstances
public ProcessingUnitInstance[] getInstances(String processingUnitName)
getInstances
in interface InternalProcessingUnitInstances
public ProcessingUnitInstanceAddedEventManager getProcessingUnitInstanceAdded()
getProcessingUnitInstanceAdded
in interface InternalProcessingUnitInstances
public ProcessingUnitInstanceRemovedEventManager getProcessingUnitInstanceRemoved()
getProcessingUnitInstanceRemoved
in interface InternalProcessingUnitInstances
public void addProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
addProcessingUnitInstanceLifecycleEventListener
in interface InternalProcessingUnitInstances
public void removeProcessingUnitInstanceLifecycleEventListener(ProcessingUnitInstanceLifecycleEventListener eventListener)
removeProcessingUnitInstanceLifecycleEventListener
in interface InternalProcessingUnitInstances
public ProcessingUnitInstance getInstanceByUID(String processingUnitInstanceUid)
getInstanceByUID
in interface InternalProcessingUnitInstances
Copyright © GigaSpaces.