GigaSpaces XAP 8.0 API

org.openspaces.admin.pu.topology
Interface ProcessingUnitDeploymentTopology

All Known Subinterfaces:
ElasticDeploymentTopology, ElasticStatefulDeploymentTopology, ElasticStatelessDeploymentTopology<T>
All Known Implementing Classes:
ElasticSpaceDeployment, ElasticStatefulProcessingUnitDeployment, ElasticStatelessProcessingUnitDeployment, ProcessingUnitDeployment, SpaceDeployment

public interface ProcessingUnitDeploymentTopology


Method Summary
 ProcessingUnitDeploymentTopology addDependencies(org.openspaces.admin.internal.pu.dependency.ProcessingUnitDetailedDependencies<? extends ProcessingUnitDependency> deploymentDependencies)
          Postpones deployment of processing unit instances until the specified dependencies are met.
 ProcessingUnitDeploymentTopology addDependency(String requiredProcessingUnitName)
          Postpones deployment of processing unit instances deployment until the specified processing unit deployment is complete.
 ProcessingUnitDeploymentTopology secured(boolean secured)
          Will deploy a secured processing unit.
 ProcessingUnitDeployment toProcessingUnitDeployment(Admin admin)
          Converts the deployment to a standard ProcessingUnitDeployment
 ProcessingUnitDeploymentTopology userDetails(String userName, String password)
          Advanced: Sets the security user details for authentication and authorization of the processing unit.
 ProcessingUnitDeploymentTopology userDetails(UserDetails userDetails)
          Advanced: Sets the security user details for authentication and authorization of the processing unit.
 

Method Detail

secured

ProcessingUnitDeploymentTopology secured(boolean secured)
Will deploy a secured processing unit. Note, by setting user details the processing unit will be secured automatically.


userDetails

ProcessingUnitDeploymentTopology userDetails(UserDetails userDetails)
Advanced: Sets the security user details for authentication and authorization of the processing unit.


userDetails

ProcessingUnitDeploymentTopology userDetails(String userName,
                                             String password)
Advanced: Sets the security user details for authentication and authorization of the processing unit.


addDependencies

ProcessingUnitDeploymentTopology addDependencies(org.openspaces.admin.internal.pu.dependency.ProcessingUnitDetailedDependencies<? extends ProcessingUnitDependency> deploymentDependencies)
Postpones deployment of processing unit instances until the specified dependencies are met. The following example postpones the deployment of this processing unit until B has completed the deployment and C has at least one instance deployed. deployment.addDependencies(new ProcessingUnitDeploymentDependenciesConfigurer().dependsOnDeployment("B").dependsOnMinimumNumberOfDeployedInstances("C",1).create())

Since:
8.0.6
See Also:
ProcessingUnitDeploymentDependenciesConfigurer

addDependency

ProcessingUnitDeploymentTopology addDependency(String requiredProcessingUnitName)
Postpones deployment of processing unit instances deployment until the specified processing unit deployment is complete. Same as: deployment.addDependencies(new ProcessingUnitDeploymentDependenciesConfigurer().dependsOnDeployment(requiredProcessingUnitName).create())

Since:
8.0.6

toProcessingUnitDeployment

ProcessingUnitDeployment toProcessingUnitDeployment(Admin admin)
Converts the deployment to a standard ProcessingUnitDeployment


GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.