public class ProcessingUnitDependencyConfig extends Object implements org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
| Constructor and Description | 
|---|
ProcessingUnitDependencyConfig()
For spring injection 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPropertiesSet()  | 
boolean | 
equals(Object obj)  | 
int | 
getMinimumNumberOfDeployedInstances()  | 
int | 
getMinimumNumberOfDeployedInstancesPerPartition()  | 
String | 
getRequiredProcessingUnitName()  | 
boolean | 
getWaitForDeploymentToComplete()  | 
int | 
hashCode()  | 
void | 
mergeDependency(ProcessingUnitDependency otherDependency)
Merges the specified dependencies with existing dependencies. 
 | 
void | 
mergeDependency(org.jini.rio.core.RequiredDependency otherRequiredDependency)
Merges the specified dependencies (received from the GSM) with existing dependencies. 
 | 
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. 
 | 
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 
 | 
void | 
setRequiredProcessingUnitName(String requiredProcessingUnitName)  | 
void | 
setWaitForDeploymentToComplete(boolean waitForDeploymentToComplete)
When true the dependant processing unit waits until the required processing unit completes deployment. 
 | 
org.jini.rio.core.RequiredDependency | 
toRequiredDependency()
Converts this to the GSM implementation equivalent 
 | 
String | 
toString()  | 
public ProcessingUnitDependencyConfig()
public boolean getWaitForDeploymentToComplete()
getWaitForDeploymentToComplete in interface ProcessingUnitDependencypublic void setWaitForDeploymentToComplete(boolean waitForDeploymentToComplete)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencysetWaitForDeploymentToComplete in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencypublic int getMinimumNumberOfDeployedInstancesPerPartition()
getMinimumNumberOfDeployedInstancesPerPartition in interface ProcessingUnitDependencypublic void setMinimumNumberOfDeployedInstancesPerPartition(int minimumNumberOfDeployedInstancesPerPartition)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencysetMinimumNumberOfDeployedInstancesPerPartition in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencypublic int getMinimumNumberOfDeployedInstances()
getMinimumNumberOfDeployedInstances in interface ProcessingUnitDependencypublic void setMinimumNumberOfDeployedInstances(int minimumNumberOfDeployedInstances)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencysetMinimumNumberOfDeployedInstances in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencypublic String getRequiredProcessingUnitName()
getRequiredProcessingUnitName in interface ProcessingUnitDependencypublic void setRequiredProcessingUnitName(String requiredProcessingUnitName)
@PostConstruct public void afterPropertiesSet()
public void mergeDependency(ProcessingUnitDependency otherDependency)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencymergeDependency in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencypublic void mergeDependency(org.jini.rio.core.RequiredDependency otherRequiredDependency)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencymergeDependency in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencypublic org.jini.rio.core.RequiredDependency toRequiredDependency()
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencytoRequiredDependency in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependencyCopyright © GigaSpaces.