Class ProcessingUnitInstanceProvisionFailure

java.lang.Object
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 Details

    • ProcessingUnitInstanceProvisionFailure

      public ProcessingUnitInstanceProvisionFailure(InternalProcessingUnit processingUnit, String gscServiceId, String failureReason, boolean uninstantiable)
  • Method Details

    • 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.