GigaSpaces XAP 9.0 API

org.openspaces.admin.pu.events
Class ProcessingUnitInstanceProvisionFailure

java.lang.Object
  extended by org.openspaces.admin.pu.events.ProcessingUnitInstanceProvisionFailure

public class ProcessingUnitInstanceProvisionFailure
extends Object

A provision failure that occurred while trying to instantiate an instance on a grid service container. Holds the GridServiceContainer the reason for the failure and an indication if the instance will not be instantiated anymore.

Since:
8.0.6
Author:
moran

Constructor Summary
ProcessingUnitInstanceProvisionFailure(org.openspaces.admin.internal.pu.InternalProcessingUnit processingUnit, String gscServiceId, String failureReason, boolean uninstantiable)
           
 
Method Summary
 String getFailureReason()
           
 GridServiceContainer getGridServiceContainer()
           
 boolean isUninstantiable()
          Not instantiable; that cannot be instantiated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingUnitInstanceProvisionFailure

public ProcessingUnitInstanceProvisionFailure(org.openspaces.admin.internal.pu.InternalProcessingUnit processingUnit,
                                              String gscServiceId,
                                              String failureReason,
                                              boolean uninstantiable)
Method Detail

getGridServiceContainer

public GridServiceContainer getGridServiceContainer()

getFailureReason

public String getFailureReason()
Returns:
The exception stack trace indicating that a failure has occurred while trying to instantiate a processing unit instance.

isUninstantiable

public boolean isUninstantiable()
Not instantiable; that cannot be instantiated. An uninstantiable instance will not be re-provisioned again. This may be due to missing resources or classes, too many instances versus required SLA. Note that the general case is that all instances should be re-instantiable in order to keep the requested SLA for number of instances.

Returns:
true if this instance was unable to instantiate and will not be re-provisioned again.

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.