public class DefaultSpaceInstanceAddedEventManager extends Object implements InternalSpaceInstanceAddedEventManager
Constructor and Description |
---|
DefaultSpaceInstanceAddedEventManager(InternalAdmin admin,
InternalSpaceInstancesAware spaceInstances) |
Modifier and Type | Method and Description |
---|---|
void |
add(SpaceInstanceAddedEventListener eventListener)
Adds an event listener.
|
void |
add(SpaceInstanceAddedEventListener eventListener,
boolean includeExisting)
Adds an event listener allowing to control using the
includeExisting if events
will be fired for existing space instances as well. |
List<SpaceInstanceAddedEventListener> |
getListeners() |
void |
leftShift(Object eventListener) |
void |
minus(Object eventListener) |
void |
plus(Object eventListener) |
void |
remove(SpaceInstanceAddedEventListener eventListener)
Removes the event listener.
|
void |
rightShift(Object eventListener) |
void |
spaceInstanceAdded(SpaceInstance spaceInstance)
A callback indicating that a Space Instance was added.
|
public DefaultSpaceInstanceAddedEventManager(InternalAdmin admin, InternalSpaceInstancesAware spaceInstances)
public void spaceInstanceAdded(SpaceInstance spaceInstance)
SpaceInstanceAddedEventListener
spaceInstanceAdded
in interface SpaceInstanceAddedEventListener
public void add(SpaceInstanceAddedEventListener eventListener, boolean includeExisting)
SpaceInstanceAddedEventManager
includeExisting
if events
will be fired for existing space instances as well.add
in interface SpaceInstanceAddedEventManager
public void add(SpaceInstanceAddedEventListener eventListener)
SpaceInstanceAddedEventManager
SpaceInstance
s.add
in interface SpaceInstanceAddedEventManager
public void remove(SpaceInstanceAddedEventListener eventListener)
SpaceInstanceAddedEventManager
remove
in interface SpaceInstanceAddedEventManager
public void plus(Object eventListener)
public void leftShift(Object eventListener)
public void minus(Object eventListener)
public void rightShift(Object eventListener)
public List<SpaceInstanceAddedEventListener> getListeners()
getListeners
in interface InternalSpaceInstanceAddedEventManager
Copyright © GigaSpaces.