GigaSpaces XAP 10.0.1 API

org.openspaces.core.space.mode
Class BeforeSpaceModeChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.openspaces.core.space.mode.AbstractSpaceModeChangeEvent
              extended by org.openspaces.core.space.mode.BeforeSpaceModeChangeEvent
All Implemented Interfaces:
Serializable

public class BeforeSpaceModeChangeEvent
extends AbstractSpaceModeChangeEvent

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:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BeforeSpaceModeChangeEvent(IJSpace space, com.gigaspaces.cluster.activeelection.SpaceMode spaceMode)
          Creates a new before space mode event.
 
Method Summary
 String toString()
           
 
Methods inherited from class org.openspaces.core.space.mode.AbstractSpaceModeChangeEvent
getSpace, getSpaceMode, isBackup, isNone, isPrimary
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeforeSpaceModeChangeEvent

public BeforeSpaceModeChangeEvent(IJSpace space,
                                  com.gigaspaces.cluster.activeelection.SpaceMode spaceMode)
Creates a new before space mode event.

Parameters:
space - The space that changed its mode
spaceMode - The current space mode (the one that it will change to)
Method Detail

toString

public String toString()
Overrides:
toString in class EventObject

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.