Interface NodeAllocator.NodeLease

Enclosing interface:
NodeAllocator

public static interface NodeAllocator.NodeLease
  • Method Details

    • getNode

      com.google.common.util.concurrent.ListenableFuture<InternalNode> getNode()
    • attachTaskId

      default void attachTaskId(TaskId taskId)
    • setExecutionClass

      void setExecutionClass(TaskExecutionClass executionClass)
      Update execution class if it changes at runtime. It is only allowed to change execution class from speculative to non-speculative.
    • setMemoryRequirement

      void setMemoryRequirement(io.airlift.units.DataSize memoryRequirement)
      Update memory requirement for lease. There is no constraint when this method can be called - it can be done both before and after node lease is already fulfilled.
    • release

      void release()