org.openspaces.admin.pu.elastic.events
Class AbstractElasticProcessingUnitProgressChangedEvent
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractElasticProcessingUnitProgressChangedEvent
public AbstractElasticProcessingUnitProgressChangedEvent()
- de-serialization constructor
AbstractElasticProcessingUnitProgressChangedEvent
public AbstractElasticProcessingUnitProgressChangedEvent(boolean isComplete,
boolean isUndeploying,
String processingUnitName)
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
Copyright © GigaSpaces.