Class DefaultSpaceInstanceAddedEventManager
java.lang.Object
org.openspaces.admin.internal.space.events.DefaultSpaceInstanceAddedEventManager
- All Implemented Interfaces:
InternalSpaceInstanceAddedEventManager,SpaceInstanceAddedEventListener,SpaceInstanceAddedEventManager
public class DefaultSpaceInstanceAddedEventManager
extends Object
implements InternalSpaceInstanceAddedEventManager
- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSpaceInstanceAddedEventManager(InternalAdmin admin, InternalSpaceInstancesAware spaceInstances) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SpaceInstanceAddedEventListener eventListener) Adds an event listener.voidadd(SpaceInstanceAddedEventListener eventListener, boolean includeExisting) Adds an event listener allowing to control using theincludeExistingif events will be fired for existing space instances as well.voidvoidvoidvoidremove(SpaceInstanceAddedEventListener eventListener) Removes the event listener.voidrightShift(Object eventListener) voidspaceInstanceAdded(SpaceInstance spaceInstance) A callback indicating that a Space Instance was added.
-
Constructor Details
-
DefaultSpaceInstanceAddedEventManager
public DefaultSpaceInstanceAddedEventManager(InternalAdmin admin, InternalSpaceInstancesAware spaceInstances)
-
-
Method Details
-
spaceInstanceAdded
Description copied from interface:SpaceInstanceAddedEventListenerA callback indicating that a Space Instance was added.- Specified by:
spaceInstanceAddedin interfaceSpaceInstanceAddedEventListener
-
add
Description copied from interface:SpaceInstanceAddedEventManagerAdds an event listener allowing to control using theincludeExistingif events will be fired for existing space instances as well.- Specified by:
addin interfaceSpaceInstanceAddedEventManager
-
add
Description copied from interface:SpaceInstanceAddedEventManagerAdds an event listener. Note, the event will be called for currently discoveredSpaceInstances.- Specified by:
addin interfaceSpaceInstanceAddedEventManager
-
remove
Description copied from interface:SpaceInstanceAddedEventManagerRemoves the event listener.- Specified by:
removein interfaceSpaceInstanceAddedEventManager
-
plus
-
leftShift
-
minus
-
rightShift
-
getListeners
- Specified by:
getListenersin interfaceInternalSpaceInstanceAddedEventManager
-