public class SpaceStatusChangedEvent
extends org.springframework.context.ApplicationEvent
source
Constructor and Description |
---|
SpaceStatusChangedEvent(IJSpace space,
SuspendType suspendType,
SpaceMode spaceMode)
Creates a new Space status changed event that occurred when a space change his
SuspendType or SpaceMode |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
getSpaceMode() |
SuspendType |
getSuspendType() |
boolean |
isActive()
Returns true if the space instance is primary and not suspended, false otherwise.
|
getSource, toString
public SpaceStatusChangedEvent(IJSpace space, SuspendType suspendType, SpaceMode spaceMode)
SuspendType
or SpaceMode
space
- - The space that changed its statussuspendType
- - The current suspend type of the spacespaceMode
- - The current space modepublic SuspendType getSuspendType()
public SpaceMode getSpaceMode()
public boolean isActive()
Copyright © GigaSpaces.