GigaSpaces XAP 9.7.2 API

org.openspaces.admin.pu.topology
Interface ProcessingUnitDeploymentTopology

All Known Subinterfaces:
ElasticDeploymentTopology, ElasticStatefulDeploymentTopology, ElasticStatelessDeploymentTopology<T>
All Known Implementing Classes:
ElasticSpaceDeployment, ElasticStatefulProcessingUnitDeployment, ElasticStatelessProcessingUnitDeployment, MemcachedDeployment, 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.
 ProcessingUnitConfigHolder create()
          Converts this fluent API object to a lazy implementation of ProcessingUnitConfig
 ProcessingUnitDeploymentTopology secured(boolean secured)
          Will deploy a secured processing unit.
 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

create

ProcessingUnitConfigHolder create()
Converts this fluent API object to a lazy implementation of ProcessingUnitConfig

Since:
9.0.0

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.