public class DefaultSpaceAddedEventManager extends Object implements InternalSpaceAddedEventManager
Constructor and Description |
---|
DefaultSpaceAddedEventManager(InternalSpaces spaces) |
Modifier and Type | Method and Description |
---|---|
void |
add(SpaceAddedEventListener eventListener)
Adds an event listener.
|
void |
add(SpaceAddedEventListener eventListener,
boolean includeExisting)
Adds an event listener allowing to control using the
includeExisting if events
will be fired for existing spaces as well. |
void |
leftShift(Object eventListener) |
void |
minus(Object eventListener) |
void |
plus(Object eventListener) |
void |
remove(SpaceAddedEventListener eventListener)
Removes an event listener.
|
void |
rightShift(Object eventListener) |
void |
spaceAdded(Space space)
A callback indicating that a Space was added.
|
public DefaultSpaceAddedEventManager(InternalSpaces spaces)
public void spaceAdded(Space space)
SpaceAddedEventListener
spaceAdded
in interface SpaceAddedEventListener
public void add(SpaceAddedEventListener eventListener)
SpaceAddedEventManager
Space
s.add
in interface SpaceAddedEventManager
public void add(SpaceAddedEventListener eventListener, boolean includeExisting)
SpaceAddedEventManager
includeExisting
if events
will be fired for existing spaces as well.add
in interface SpaceAddedEventManager
public void remove(SpaceAddedEventListener eventListener)
SpaceAddedEventManager
remove
in interface SpaceAddedEventManager
public void plus(Object eventListener)
public void leftShift(Object eventListener)
public void minus(Object eventListener)
public void rightShift(Object eventListener)
Copyright © GigaSpaces.