|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.springframework.context.ApplicationEvent
org.openspaces.core.space.mode.AbstractSpaceModeChangeEvent
public abstract class AbstractSpaceModeChangeEvent
Base class for different space mode events.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AbstractSpaceModeChangeEvent(IJSpace space,
com.gigaspaces.cluster.activeelection.SpaceMode spaceMode)
Creates a new Space mode event. |
|
| Method Summary | |
|---|---|
IJSpace |
getSpace()
Returns the space that initiated this event. |
com.gigaspaces.cluster.activeelection.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. |
| Methods inherited from class org.springframework.context.ApplicationEvent |
|---|
getTimestamp |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSpaceModeChangeEvent(IJSpace space,
com.gigaspaces.cluster.activeelection.SpaceMode spaceMode)
space - The space that changed its modespaceMode - The space mode of the space| Method Detail |
|---|
public IJSpace getSpace()
public com.gigaspaces.cluster.activeelection.SpaceMode getSpaceMode()
public boolean isNone()
NONE, in other words - unknown.
public boolean isBackup()
BACKUP.
public boolean isPrimary()
PRIMARY.
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||