public interface ServiceContext extends Serializable
Service.execute(ServiceContext)
and Service.cancel(ServiceContext)
methods and contains information about specific service
execution.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.
|
ServiceCallContext |
currentCallContext()
Gets context of the current service call.
|
UUID |
executionId()
Gets service execution ID.
|
boolean |
isCancelled()
Get flag indicating whether service has been cancelled or not.
|
String |
name()
Gets service name.
|
String name()
UUID executionId()
boolean isCancelled()
String cacheName()
null
.<K> K affinityKey()
null
.ServiceCallContext currentCallContext()
null
.ServiceCallContext
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024