GigaSpaces XAP 9.1 API

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

java.lang.Object
  extended by org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitProgressChangedEvent
      extended by org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitDecisionEvent
          extended by org.openspaces.admin.pu.elastic.events.ElasticStatefulProcessingUnitPlannedCapacityChangedEvent
All Implemented Interfaces:
Externalizable, Serializable, org.jini.rio.monitor.event.Event, org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitDecisionEvent, org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitEvent, org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitProgressChangedEvent, ElasticAutoScalingProgressChangedEvent, ElasticProcessingUnitDecisionEvent, ElasticProcessingUnitEvent, ElasticProcessingUnitProgressChangedEvent

public class ElasticStatefulProcessingUnitPlannedCapacityChangedEvent
extends org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitDecisionEvent
implements ElasticAutoScalingProgressChangedEvent

Since:
9.1.0
Author:
Itai Frenkel
See Also:
Serialized Form

Constructor Summary
ElasticStatefulProcessingUnitPlannedCapacityChangedEvent()
          de-serialization constructor
ElasticStatefulProcessingUnitPlannedCapacityChangedEvent(CapacityRequirementsConfig before, CapacityRequirementsConfig after)
           
 
Method Summary
 CapacityRequirementsConfig getafterPlanned()
           
 CapacityRequirementsConfig getbeforePlanned()
           
 String getDecisionDescription()
          Each decision event instance has the same (parameterized) description as other event instances with the same type.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitDecisionEvent
toString
 
Methods inherited from class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitProgressChangedEvent
getGridServiceAgentZones, getProcessingUnitName, isComplete, isUndeploying, setComplete, setGridServiceAgentZones, setProcessingUnitName, setUndeploying, toStringHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openspaces.admin.pu.elastic.events.ElasticProcessingUnitProgressChangedEvent
isComplete, isUndeploying
 
Methods inherited from interface org.openspaces.admin.pu.elastic.events.ElasticProcessingUnitEvent
getGridServiceAgentZones, getProcessingUnitName
 
Methods inherited from interface org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitProgressChangedEvent
setComplete, setUndeploying
 
Methods inherited from interface org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitEvent
setGridServiceAgentZones, setProcessingUnitName
 

Constructor Detail

ElasticStatefulProcessingUnitPlannedCapacityChangedEvent

public ElasticStatefulProcessingUnitPlannedCapacityChangedEvent()
de-serialization constructor


ElasticStatefulProcessingUnitPlannedCapacityChangedEvent

public ElasticStatefulProcessingUnitPlannedCapacityChangedEvent(CapacityRequirementsConfig before,
                                                                CapacityRequirementsConfig after)
Method Detail

getafterPlanned

public CapacityRequirementsConfig getafterPlanned()

getbeforePlanned

public CapacityRequirementsConfig getbeforePlanned()

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitProgressChangedEvent
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitProgressChangedEvent
Throws:
IOException
ClassNotFoundException

getDecisionDescription

public String getDecisionDescription()
Description copied from class: org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitDecisionEvent
Each decision event instance has the same (parameterized) description as other event instances with the same type.

Specified by:
getDecisionDescription in interface ElasticProcessingUnitDecisionEvent
Specified by:
getDecisionDescription in class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitDecisionEvent

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.