GigaSpaces XAP 7.0 API

org.openspaces.core.space.mode
Class AfterSpaceModeChangeEvent

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.AfterSpaceModeChangeEvent
All Implemented Interfaces:
Serializable

public class AfterSpaceModeChangeEvent
extends AbstractSpaceModeChangeEvent

A Space mode event that is raised after the space mode was changed to the space mode reflected in this event. Note, this event might be called sevearl times with the same space mode.

Author:
kimchy
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AfterSpaceModeChangeEvent(IJSpace space, com.gigaspaces.cluster.activeelection.SpaceMode spaceMode)
          Creates a new after 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

AfterSpaceModeChangeEvent

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

Parameters:
space - The space that changed its mode
spaceMode - The current space mode
Method Detail

toString

public String toString()
Overrides:
toString in class EventObject

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.