public abstract class AbstractSpaceModeChangeEvent
extends org.springframework.context.ApplicationEvent
source
Constructor and Description |
---|
AbstractSpaceModeChangeEvent(IJSpace space,
SpaceMode spaceMode)
Creates a new Space mode event.
|
Modifier and Type | Method and Description |
---|---|
IJSpace |
getSpace()
Returns the space that initiated this event.
|
SpaceMode |
getSpaceMode() |
boolean |
isBackup()
The space mode is
BACKUP . |
boolean |
isNone()
The space mode is
NONE , in other words - unknown. |
boolean |
isPrimary()
The space mode is
PRIMARY . |
getSource, toString
public IJSpace getSpace()
public SpaceMode getSpaceMode()
public boolean isNone()
NONE
, in other words - unknown.public boolean isBackup()
BACKUP
.public boolean isPrimary()
PRIMARY
.Copyright © GigaSpaces.