org.openspaces.admin.pu.elastic.events
Class ElasticStatelessReachedMaximumNumberOfInstancesEvent
java.lang.Object
org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitFailureEvent
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
Methods inherited from class org.openspaces.admin.internal.pu.elastic.events.AbstractElasticProcessingUnitFailureEvent |
getFailureDescription, getGridServiceAgentZones, getProcessingUnitName, setFailureDescription, setGridServiceAgentZones, setProcessingUnitName, toString |
ElasticStatelessReachedMaximumNumberOfInstancesEvent
public ElasticStatelessReachedMaximumNumberOfInstancesEvent()
- de-serialization constructor
ElasticStatelessReachedMaximumNumberOfInstancesEvent
public ElasticStatelessReachedMaximumNumberOfInstancesEvent(ProcessingUnit pu,
int existingNumberOfInstances,
int requestedNumberOfInstances,
int maximumNumberOfInstances)
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
Copyright © GigaSpaces.