GridServiceDeployment which has been deprecated because of
services internals use messages for deployment management instead of the utility cache, since Ignite 2.8.@Deprecated public class ServiceDescriptorImpl extends Object implements ServiceDescriptor
| Constructor and Description |
|---|
ServiceDescriptorImpl(GridServiceDeployment dep)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<K> K |
affinityKey()
Deprecated.
Gets affinity key used for key-to-node affinity calculation.
|
@Nullable String |
cacheName()
Deprecated.
Gets cache name used for key-to-node affinity calculation.
|
int |
maxPerNodeCount()
Deprecated.
Gets maximum allowed number of deployed services on each node,
0 for unlimited. |
String |
name()
Deprecated.
Gets service name.
|
UUID |
originNodeId()
Deprecated.
Gets ID of grid node that initiated the service deployment.
|
Class<? extends Service> |
serviceClass()
Deprecated.
Gets service class.
|
Map<UUID,Integer> |
topologySnapshot()
Deprecated.
Gets service deployment topology snapshot.
|
String |
toString()
Deprecated.
|
int |
totalCount()
Deprecated.
Gets maximum allowed total number of deployed services in the grid,
0 for unlimited. |
public ServiceDescriptorImpl(GridServiceDeployment dep)
dep - Deployment.public String name()
name in interface ServiceDescriptorpublic Class<? extends Service> serviceClass()
serviceClass in interface ServiceDescriptorpublic int totalCount()
0 for unlimited.totalCount in interface ServiceDescriptor0 for unlimited.public int maxPerNodeCount()
0 for unlimited.maxPerNodeCount in interface ServiceDescriptor0 for unlimited.@Nullable public @Nullable String cacheName()
cacheName in interface ServiceDescriptornull.@Nullable public <K> K affinityKey()
affinityKey in interface ServiceDescriptornull.public UUID originNodeId()
originNodeId in interface ServiceDescriptorpublic Map<UUID,Integer> topologySnapshot()
topologySnapshot in interface ServiceDescriptor
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021