public class ProcessingUnitDependencyConfig extends Object implements 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.
|
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 ProcessingUnitDependency
public void setWaitForDeploymentToComplete(boolean waitForDeploymentToComplete)
InternalProcessingUnitDependency
setWaitForDeploymentToComplete
in interface InternalProcessingUnitDependency
public int getMinimumNumberOfDeployedInstancesPerPartition()
getMinimumNumberOfDeployedInstancesPerPartition
in interface ProcessingUnitDependency
public void setMinimumNumberOfDeployedInstancesPerPartition(int minimumNumberOfDeployedInstancesPerPartition)
InternalProcessingUnitDependency
setMinimumNumberOfDeployedInstancesPerPartition
in interface InternalProcessingUnitDependency
public int getMinimumNumberOfDeployedInstances()
getMinimumNumberOfDeployedInstances
in interface ProcessingUnitDependency
public void setMinimumNumberOfDeployedInstances(int minimumNumberOfDeployedInstances)
InternalProcessingUnitDependency
setMinimumNumberOfDeployedInstances
in interface InternalProcessingUnitDependency
public String getRequiredProcessingUnitName()
getRequiredProcessingUnitName
in interface ProcessingUnitDependency
public void setRequiredProcessingUnitName(String requiredProcessingUnitName)
@PostConstruct public void afterPropertiesSet()
public void mergeDependency(ProcessingUnitDependency otherDependency)
InternalProcessingUnitDependency
mergeDependency
in interface InternalProcessingUnitDependency
public void mergeDependency(org.jini.rio.core.RequiredDependency otherRequiredDependency)
InternalProcessingUnitDependency
mergeDependency
in interface InternalProcessingUnitDependency
public org.jini.rio.core.RequiredDependency toRequiredDependency()
InternalProcessingUnitDependency
toRequiredDependency
in interface InternalProcessingUnitDependency
Copyright © GigaSpaces.