@Documented @Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface TaskSessionResource
ComputeTaskSession
resource.
Task session can be injected into instances of following classes:
Distributed Task Session can be injected into instances of following classes:
Here is how injection would typically happen:
public class MyGridJob implements ComputeJob { ... @TaskSessionResource private ComputeTaskSession taskSes; ... }or
public class MyGridJob implements ComputeJob { ... private ComputeTaskSession taskSes; ... @TaskSessionResource public void setTaskSession(ComputeTaskSession taskSes) { this.taskSes = taskSes; } ... }
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024