Package org.openspaces.admin.pu.events
Class ProcessingUnitInstanceProvisionFailure
java.lang.Object
org.openspaces.admin.pu.events.ProcessingUnitInstanceProvisionFailure
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
ConstructorsConstructorDescriptionProcessingUnitInstanceProvisionFailure(InternalProcessingUnit processingUnit, String gscServiceId, String failureReason, boolean uninstantiable) -
Method Summary
Modifier and TypeMethodDescriptionbooleanNot instantiable; that cannot be instantiated.
-
Constructor Details
-
ProcessingUnitInstanceProvisionFailure
public ProcessingUnitInstanceProvisionFailure(InternalProcessingUnit processingUnit, String gscServiceId, String failureReason, boolean uninstantiable)
-
-
Method Details
-
getGridServiceContainer
-
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:
trueif this instance was unable to instantiate and will not be re-provisioned again.
-