GigaSpaces XAP 9.7.2 API

org.openspaces.admin.space.events
Class ReplicationStatusChangedEvent

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

public class ReplicationStatusChangedEvent
extends Object

An event indicating that the replication status was changed from a SpaceInstance to its ReplicationTarget.

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

Constructor Summary
ReplicationStatusChangedEvent(SpaceInstance spaceInstance, ReplicationTarget replicationTarget, ReplicationStatus previousStatus, ReplicationStatus newStatus)
           
 
Method Summary
 ReplicationStatus getNewStatus()
          The new replication status.
 ReplicationStatus getPreviousStatus()
          The previous replication status.
 ReplicationTarget getReplicationTarget()
          The replication target the Space Instance is replicating to.
 SpaceInstance getSpaceInstance()
          The Space Instance that replicates to a replication target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationStatusChangedEvent

public ReplicationStatusChangedEvent(SpaceInstance spaceInstance,
                                     ReplicationTarget replicationTarget,
                                     ReplicationStatus previousStatus,
                                     ReplicationStatus newStatus)
Method Detail

getSpaceInstance

public SpaceInstance getSpaceInstance()
The Space Instance that replicates to a replication target.


getReplicationTarget

public ReplicationTarget getReplicationTarget()
The replication target the Space Instance is replicating to.


getPreviousStatus

public ReplicationStatus getPreviousStatus()
The previous replication status.


getNewStatus

public ReplicationStatus getNewStatus()
The new replication status.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.