Package io.trino.execution.scheduler
Interface NodeAllocator.NodeLease
- Enclosing interface:
- NodeAllocator
public static interface NodeAllocator.NodeLease
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidattachTaskId(TaskId taskId) com.google.common.util.concurrent.ListenableFuture<InternalNode>getNode()voidrelease()voidsetExecutionClass(TaskExecutionClass executionClass)
-
Method Details
-
getNode
com.google.common.util.concurrent.ListenableFuture<InternalNode> getNode() -
attachTaskId
-
setExecutionClass
-
release
void release()
-