Package | Description |
---|---|
org.apache.ignite |
Contains entry-point Ignite & HPC APIs.
|
org.apache.ignite.configuration |
Contains configuration-related classes.
|
org.apache.ignite.services |
Contains main Managed Services APIs.
|
Modifier and Type | Method and Description |
---|---|
void |
IgniteServices.deploy(ServiceConfiguration cfg)
Deploys multiple instances of the service on the grid according to provided
configuration.
|
IgniteFuture<Void> |
IgniteServices.deployAsync(ServiceConfiguration cfg)
Asynchronously deploys multiple instances of the service on the grid according to provided
configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
IgniteServices.deployAll(Collection<ServiceConfiguration> cfgs)
Deploys multiple services described by provided configurations.
|
IgniteFuture<Void> |
IgniteServices.deployAllAsync(Collection<ServiceConfiguration> cfgs)
Asynchronously deploys multiple services described by provided configurations.
|
Modifier and Type | Method and Description |
---|---|
ServiceConfiguration[] |
IgniteConfiguration.getServiceConfiguration()
Gets configurations for services to be deployed on the grid.
|
Modifier and Type | Method and Description |
---|---|
IgniteConfiguration |
IgniteConfiguration.setServiceConfiguration(ServiceConfiguration... svcCfgs)
Sets configurations for services to be deployed on the grid.
|
Modifier and Type | Method and Description |
---|---|
ServiceConfiguration |
ServiceConfiguration.setAffinityKey(Object affKey)
Sets affinity key used for key-to-node affinity calculation.
|
ServiceConfiguration |
ServiceConfiguration.setCacheName(String cacheName)
Sets cache name used for key-to-node affinity calculation.
|
ServiceConfiguration |
ServiceConfiguration.setMaxPerNodeCount(int maxPerNodeCnt)
Sets maximum number of deployed service instances on each node,
0 for unlimited. |
ServiceConfiguration |
ServiceConfiguration.setName(String name)
Sets service name.
|
ServiceConfiguration |
ServiceConfiguration.setNodeFilter(IgnitePredicate<ClusterNode> nodeFilter)
Sets node filter used to filter nodes on which the service will be deployed.
|
ServiceConfiguration |
ServiceConfiguration.setService(Service svc)
Sets service instance.
|
ServiceConfiguration |
ServiceConfiguration.setTotalCount(int totalCnt)
Sets total number of deployed service instances in the cluster,
0 for unlimited. |
Modifier and Type | Method and Description |
---|---|
Collection<ServiceConfiguration> |
ServiceDeploymentException.getFailedConfigurations() |
Constructor and Description |
---|
ServiceDeploymentException(String msg,
Collection<ServiceConfiguration> cfgs)
Creates service deployment exception with error message.
|
ServiceDeploymentException(String msg,
@Nullable Throwable cause,
Collection<ServiceConfiguration> cfgs)
Creates service deployment exception with error message and
Throwable as a cause. |
ServiceDeploymentException(Throwable cause,
Collection<ServiceConfiguration> cfgs)
Creates service deployment exception with
Throwable as a cause. |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019