GigaSpaces XAP 7.0 API

org.openspaces.admin.pu.events
Class ProcessingUnitStatusChangedEvent

java.lang.Object
  extended by org.openspaces.admin.pu.events.ProcessingUnitStatusChangedEvent

public class ProcessingUnitStatusChangedEvent
extends Object

An event raised when a Processing Unit DeploymentStatus has changed.

Author:
kimchy
See Also:
ProcessingUnit.getProcessingUnitStatusChanged(), ProcessingUnits.getProcessingUnitStatusChanged()

Constructor Summary
ProcessingUnitStatusChangedEvent(ProcessingUnit processingUnit, DeploymentStatus previousStatus, DeploymentStatus newStatus)
           
 
Method Summary
 DeploymentStatus getNewStatus()
          The new deployment status.
 DeploymentStatus getPreviousStatus()
          The previous deployment status.
 ProcessingUnit getProcessingUnit()
          Returns the Processing Unit that the deployment status changed for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingUnitStatusChangedEvent

public ProcessingUnitStatusChangedEvent(ProcessingUnit processingUnit,
                                        DeploymentStatus previousStatus,
                                        DeploymentStatus newStatus)
Method Detail

getProcessingUnit

public ProcessingUnit getProcessingUnit()
Returns the Processing Unit that the deployment status changed for.


getPreviousStatus

public DeploymentStatus getPreviousStatus()
The previous deployment status.


getNewStatus

public DeploymentStatus getNewStatus()
The new deployment status.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.