Package org.openspaces.core.space.mode
Class BeforeSpaceModeChangeEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openspaces.core.space.mode.AbstractSpaceModeChangeEvent
org.openspaces.core.space.mode.BeforeSpaceModeChangeEvent
- All Implemented Interfaces:
Serializable
A Space mode event that is raised before the space mode is changed to the space mode reflected in
this event. Note, this event might be called several times with the same space mode.
- Author:
- kimchy
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionBeforeSpaceModeChangeEvent(IJSpace space, SpaceMode spaceMode) Creates a new before space mode event. -
Method Summary
Methods inherited from class org.openspaces.core.space.mode.AbstractSpaceModeChangeEvent
getSpace, getSpaceMode, isBackup, isNone, isPrimaryMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
BeforeSpaceModeChangeEvent
Creates a new before space mode event.- Parameters:
space- The space that changed its modespaceMode- The current space mode (the one that it will change to)
-
-
Method Details
-
toString
- Overrides:
toStringin classEventObject
-