public class DefaultProcessingUnitInstances extends Object implements InternalProcessingUnitInstances
Constructor and Description |
---|
DefaultProcessingUnitInstances(InternalAdmin admin) |
public DefaultProcessingUnitInstances(InternalAdmin admin)
public boolean contains(ProcessingUnitInstance processingUnitInstance)
contains
in interface InternalProcessingUnitInstances
public void addOrphaned(ProcessingUnitInstance orphanProcessingUnitInstance)
addOrphaned
in interface InternalProcessingUnitInstances
public ProcessingUnitInstance removeOrphaned(String uid)
removeOrphaned
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
public ProcessingUnitInstance[] getOrphanProcessingUnitInstances()
getOrphanProcessingUnitInstances
in interface InternalOrphanProcessingUnitInstancesAware
public void addOrphanProcessingUnitInstanceLifecycleEventListener(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener)
addOrphanProcessingUnitInstanceLifecycleEventListener
in interface InternalProcessingUnitInstances
public void removeOrphanProcessingUnitInstanceLifecycleEventListener(InternalOrphanProcessingUnitInstanceLifecycleEventListener eventListener)
removeOrphanProcessingUnitInstanceLifecycleEventListener
in interface InternalProcessingUnitInstances
Copyright © GigaSpaces.