Class SpaceStatusChangedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openspaces.core.space.status.SpaceStatusChangedEvent
All Implemented Interfaces:
Serializable

public class SpaceStatusChangedEvent extends org.springframework.context.ApplicationEvent
See Also:
  • Constructor Details

    • SpaceStatusChangedEvent

      public SpaceStatusChangedEvent(IJSpace space, SuspendType suspendType, SpaceMode spaceMode)
      Creates a new Space status changed event that occurred when a space change his SuspendType or SpaceMode
      Parameters:
      space - - The space that changed its status
      suspendType - - The current suspend type of the space
      spaceMode - - The current space mode
  • Method Details

    • getSuspendType

      public SuspendType getSuspendType()
    • getSpaceMode

      public SpaceMode getSpaceMode()
    • isActive

      public boolean isActive()
      Returns true if the space instance is primary and not suspended, false otherwise.
      Since:
      14.5