Class GridTaskWorker<T,​R>

    • Method Detail

      • getTask

        public ComputeTask<T,​R> getTask()
        Returns:
        Grid task.
      • setTask

        public void setTask​(ComputeTask<T,​R> task)
        Parameters:
        task - Deployed task.
      • isInternal

        public boolean isInternal()
        Returns:
        True if task is internal.
      • body

        protected void body()
        Maps this task's jobs to nodes and sends them out.
        Specified by:
        body in class GridWorker
      • affCacheName

        public String affCacheName()
        Returns:
        Affinity cache name for task.
      • affPartId

        public int affPartId()
        Returns:
        Affinity partition id.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object