|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.admin.pu.dependency.config.ProcessingUnitDependencyConfig
public class ProcessingUnitDependencyConfig
Constructor Summary | |
---|---|
ProcessingUnitDependencyConfig()
For spring injection |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProcessingUnitDependencyConfig()
Method Detail |
---|
public boolean getWaitForDeploymentToComplete()
getWaitForDeploymentToComplete
in interface ProcessingUnitDependency
public void setWaitForDeploymentToComplete(boolean waitForDeploymentToComplete)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
setWaitForDeploymentToComplete
in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
public int getMinimumNumberOfDeployedInstancesPerPartition()
getMinimumNumberOfDeployedInstancesPerPartition
in interface ProcessingUnitDependency
public void setMinimumNumberOfDeployedInstancesPerPartition(int minimumNumberOfDeployedInstancesPerPartition)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
setMinimumNumberOfDeployedInstancesPerPartition
in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
public int getMinimumNumberOfDeployedInstances()
getMinimumNumberOfDeployedInstances
in interface ProcessingUnitDependency
public void setMinimumNumberOfDeployedInstances(int minimumNumberOfDeployedInstances)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
setMinimumNumberOfDeployedInstances
in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
public String getRequiredProcessingUnitName()
getRequiredProcessingUnitName
in interface ProcessingUnitDependency
public void setRequiredProcessingUnitName(String requiredProcessingUnitName)
@PostConstruct public void afterPropertiesSet()
public void mergeDependency(ProcessingUnitDependency otherDependency)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
mergeDependency
in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
public void mergeDependency(org.jini.rio.core.RequiredDependency otherRequiredDependency)
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
mergeDependency
in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
public org.jini.rio.core.RequiredDependency toRequiredDependency()
org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
toRequiredDependency
in interface org.openspaces.admin.internal.pu.dependency.InternalProcessingUnitDependency
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |