public interface SpaceAddedEventManager
SpaceAddedEventListener
s.
A Space
is added when its first SpaceInstance
is discovered. It is removed when there are no SpaceInstance
s.
Spaces.getSpaceAdded()
,
Spaces.addLifecycleListener(SpaceLifecycleEventListener)
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 |
remove(SpaceAddedEventListener eventListener)
Removes an event listener.
|
void add(SpaceAddedEventListener eventListener)
Space
s.void add(SpaceAddedEventListener eventListener, boolean includeExisting)
includeExisting
if events
will be fired for existing spaces as well.void remove(SpaceAddedEventListener eventListener)
Copyright © GigaSpaces.