GigaSpaces XAP 7.0 API

org.openspaces.admin.space.events
Class SpaceModeChangedEvent

java.lang.Object
  extended by org.openspaces.admin.space.events.SpaceModeChangedEvent

public class SpaceModeChangedEvent
extends Object

An event indicating that a SpaceInstance mode was changed (for example, form primary to backup).

Author:
kimchy
See Also:
SpaceInstance.getSpaceModeChanged(), Space.getSpaceModeChanged()

Constructor Summary
SpaceModeChangedEvent(SpaceInstance spaceInstance, com.gigaspaces.cluster.activeelection.SpaceMode previousSpaceMode, com.gigaspaces.cluster.activeelection.SpaceMode newSpaceMode)
           
 
Method Summary
 com.gigaspaces.cluster.activeelection.SpaceMode getNewMode()
          Returns the new space mode.
 com.gigaspaces.cluster.activeelection.SpaceMode getPreviousMode()
          Returns the previous space mode.
 SpaceInstance getSpaceInstance()
          Returns the Space Instance that space mode changed for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceModeChangedEvent

public SpaceModeChangedEvent(SpaceInstance spaceInstance,
                             com.gigaspaces.cluster.activeelection.SpaceMode previousSpaceMode,
                             com.gigaspaces.cluster.activeelection.SpaceMode newSpaceMode)
Method Detail

getSpaceInstance

public SpaceInstance getSpaceInstance()
Returns the Space Instance that space mode changed for.


getPreviousMode

public com.gigaspaces.cluster.activeelection.SpaceMode getPreviousMode()
Returns the previous space mode.


getNewMode

public com.gigaspaces.cluster.activeelection.SpaceMode getNewMode()
Returns the new space mode.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.