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()voidsetSpeculative(boolean speculative)
-
Method Details
-
getNode
com.google.common.util.concurrent.ListenableFuture<InternalNode> getNode() -
attachTaskId
-
setSpeculative
void setSpeculative(boolean speculative) -
release
void release()
-