public class DefaultSpaceInstances extends Object implements InternalSpaceInstances
Constructor and Description |
---|
DefaultSpaceInstances(InternalAdmin admin) |
Modifier and Type | Method and Description |
---|---|
void |
addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener) |
void |
addSpaceInstance(SpaceInstance spaceInstance) |
boolean |
contains(SpaceInstance spaceInstance) |
SpaceInstanceAddedEventManager |
getSpaceInstanceAdded() |
SpaceInstanceRemovedEventManager |
getSpaceInstanceRemoved() |
SpaceInstance[] |
getSpaceInstances() |
Iterator<SpaceInstance> |
iterator() |
void |
removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener) |
void |
removeSpaceInstance(String uid) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public DefaultSpaceInstances(InternalAdmin admin)
public boolean contains(SpaceInstance spaceInstance)
contains
in interface InternalSpaceInstances
public int size()
size
in interface InternalSpaceInstances
public Iterator<SpaceInstance> iterator()
iterator
in interface Iterable<SpaceInstance>
public SpaceInstance[] getSpaceInstances()
getSpaceInstances
in interface InternalSpaceInstancesAware
public void addSpaceInstance(SpaceInstance spaceInstance)
addSpaceInstance
in interface InternalSpaceInstances
public void removeSpaceInstance(String uid)
removeSpaceInstance
in interface InternalSpaceInstances
public SpaceInstanceAddedEventManager getSpaceInstanceAdded()
getSpaceInstanceAdded
in interface InternalSpaceInstances
public SpaceInstanceRemovedEventManager getSpaceInstanceRemoved()
getSpaceInstanceRemoved
in interface InternalSpaceInstances
public void addLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
addLifecycleListener
in interface InternalSpaceInstances
public void removeLifecycleListener(SpaceInstanceLifecycleEventListener eventListener)
removeLifecycleListener
in interface InternalSpaceInstances
Copyright © GigaSpaces.