GigaSpaces XAP 8.0 API

org.openspaces.admin.pu.elastic.events
Class AbstractElasticProcessingUnitProgressChangedEvent

java.lang.Object
  extended by org.openspaces.admin.pu.elastic.events.AbstractElasticProcessingUnitProgressChangedEvent
All Implemented Interfaces:
Externalizable, Serializable, ElasticProcessingUnitEvent, ElasticProcessingUnitProgressChangedEvent

public abstract class AbstractElasticProcessingUnitProgressChangedEvent
extends Object
implements ElasticProcessingUnitProgressChangedEvent

See Also:
Serialized Form

Constructor Summary
AbstractElasticProcessingUnitProgressChangedEvent()
          de-serialization constructor
AbstractElasticProcessingUnitProgressChangedEvent(boolean isComplete, boolean isUndeploying, String processingUnitName)
           
 
Method Summary
 String getProcessingUnitName()
           
 boolean isComplete()
           
 boolean isUndeploying()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractElasticProcessingUnitProgressChangedEvent

public AbstractElasticProcessingUnitProgressChangedEvent()
de-serialization constructor


AbstractElasticProcessingUnitProgressChangedEvent

public AbstractElasticProcessingUnitProgressChangedEvent(boolean isComplete,
                                                         boolean isUndeploying,
                                                         String processingUnitName)
Method Detail

isComplete

public boolean isComplete()
Specified by:
isComplete in interface ElasticProcessingUnitProgressChangedEvent
Returns:
true if the progress event indicates the process (described by the event class type) is complete.

getProcessingUnitName

public String getProcessingUnitName()
Specified by:
getProcessingUnitName in interface ElasticProcessingUnitProgressChangedEvent
Returns:
the processing units that requires new machines

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

isUndeploying

public boolean isUndeploying()
Specified by:
isUndeploying in interface ElasticProcessingUnitProgressChangedEvent
Returns:
true if the event indicates the processing unit is being undeployed

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.