GigaSpaces XAP 9.7.2 API

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

java.lang.Object
  extended by org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitFailureEvent
      extended by org.openspaces.admin.pu.elastic.events.ElasticStatelessReachedMaximumNumberOfInstancesEvent
All Implemented Interfaces:
Externalizable, Serializable, org.jini.rio.monitor.event.Event, org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitEvent, org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitFailureEvent, ElasticAutoScalingFailureEvent, ElasticProcessingUnitEvent, ElasticProcessingUnitFailureEvent

public class ElasticStatelessReachedMaximumNumberOfInstancesEvent
extends org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitFailureEvent
implements ElasticAutoScalingFailureEvent

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

Constructor Summary
ElasticStatelessReachedMaximumNumberOfInstancesEvent()
          de-serialization constructor
ElasticStatelessReachedMaximumNumberOfInstancesEvent(ProcessingUnit pu, int existingNumberOfInstances, int requestedNumberOfInstances, int maximumNumberOfInstances)
           
 
Method Summary
 int getExistingNumberOfInstances()
           
 int getMaximumNumberOfInstances()
           
 int getRequestedNumberOfInstances()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitFailureEvent
getFailureDescription, getGridServiceAgentZones, getProcessingUnitName, setFailureDescription, setGridServiceAgentZones, setProcessingUnitName, toString
 
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.ElasticProcessingUnitFailureEvent
getFailureDescription, getGridServiceAgentZones, getProcessingUnitName
 

Constructor Detail

ElasticStatelessReachedMaximumNumberOfInstancesEvent

public ElasticStatelessReachedMaximumNumberOfInstancesEvent()
de-serialization constructor


ElasticStatelessReachedMaximumNumberOfInstancesEvent

public ElasticStatelessReachedMaximumNumberOfInstancesEvent(ProcessingUnit pu,
                                                            int existingNumberOfInstances,
                                                            int requestedNumberOfInstances,
                                                            int maximumNumberOfInstances)
Method Detail

getExistingNumberOfInstances

public int getExistingNumberOfInstances()

getRequestedNumberOfInstances

public int getRequestedNumberOfInstances()

getMaximumNumberOfInstances

public int getMaximumNumberOfInstances()

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.AbstractElasticProcessingUnitFailureEvent
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.AbstractElasticProcessingUnitFailureEvent
Throws:
IOException
ClassNotFoundException

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.