public class ServiceContextImpl extends Object implements ServiceContext
| Modifier and Type | Method and Description |
|---|---|
<K> K |
affinityKey()
Gets affinity key used for key-to-node affinity calculation.
|
String |
cacheName()
Gets cache name used for key-to-node affinity calculation.
|
UUID |
executionId()
Gets service execution ID.
|
boolean |
isCancelled()
Get flag indicating whether service has been cancelled or not.
|
String |
name()
Gets service name.
|
void |
setCancelled(boolean isCancelled) |
String |
toString() |
public String name()
name in interface ServiceContextpublic UUID executionId()
executionId in interface ServiceContextpublic boolean isCancelled()
isCancelled in interface ServiceContext@Nullable public String cacheName()
cacheName in interface ServiceContextnull.@Nullable public <K> K affinityKey()
affinityKey in interface ServiceContextnull.public void setCancelled(boolean isCancelled)
isCancelled - Cancelled flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018