Interface InternalProcessingUnitDependency
- All Superinterfaces:
ProcessingUnitDependency
- All Known Implementing Classes:
ProcessingUnitDependencyConfig
- Since:
- 8.0.6
- Author:
- itaif
-
Method Summary
Modifier and TypeMethodDescriptionvoidmergeDependency(org.jini.rio.core.RequiredDependency otherRequiredDependency) Merges the specified dependencies (received from the GSM) with existing dependencies.voidmergeDependency(ProcessingUnitDependency otherDependency) Merges the specified dependencies with existing dependencies.voidsetMinimumNumberOfDeployedInstances(int minimumNumberOfDeployedInstances) When bigger than 0 the dependant processing unit waits until the required processing unit has at least the specified number of instances.voidsetMinimumNumberOfDeployedInstancesPerPartition(int minimumNumberOfDeployedInstancesPerPartition) When bigger than 0 the dependant processing unit waits until the required processing unit has at least the specified number of instances per partition.voidsetWaitForDeploymentToComplete(boolean waitForDeploymentToComplete) When true the dependant processing unit waits until the required processing unit completes deployment.org.jini.rio.core.RequiredDependencyConverts this to the GSM implementation equivalent
-
Method Details
-
setWaitForDeploymentToComplete
void setWaitForDeploymentToComplete(boolean waitForDeploymentToComplete) When true the dependant processing unit waits until the required processing unit completes deployment. The deployment is considered complete when it's status is INTACT, and in case it is an Elastic Processing Unit then it also means scale is not in progress. When false this dependency is disabled- Since:
- 8.0.6
-
setMinimumNumberOfDeployedInstancesPerPartition
void setMinimumNumberOfDeployedInstancesPerPartition(int minimumNumberOfDeployedInstancesPerPartition) When bigger than 0 the dependant processing unit waits until the required processing unit has at least the specified number of instances per partition. 1 means at least one instance per partition (each partition has at least one primary instance) 2 means at least two instances per partition (each partition has at least one primary instance and one backup instance) When 0 this dependency is disabled- Since:
- 8.0.6
-
setMinimumNumberOfDeployedInstances
void setMinimumNumberOfDeployedInstances(int minimumNumberOfDeployedInstances) When bigger than 0 the dependant processing unit waits until the required processing unit has at least the specified number of instances. When 0 this dependency is disabled- Since:
- 8.0.6
-
mergeDependency
Merges the specified dependencies with existing dependencies.- Since:
- 8.0.6
-
mergeDependency
void mergeDependency(org.jini.rio.core.RequiredDependency otherRequiredDependency) Merges the specified dependencies (received from the GSM) with existing dependencies.- Since:
- 8.0.6
-
toRequiredDependency
org.jini.rio.core.RequiredDependency toRequiredDependency()Converts this to the GSM implementation equivalent- Since:
- 8.0.6
-