Class EmbeddedQueryQueue.EmbeddedQueueLease
java.lang.Object
org.apache.drill.exec.work.foreman.rm.EmbeddedQueryQueue.EmbeddedQueueLease
- All Implemented Interfaces:
QueryQueue.QueueLease
- Enclosing class:
- EmbeddedQueryQueue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
release()
Release a query lease obtained fromQueryQueue.enqueue(QueryId, double)
.toString()
-
Constructor Details
-
Method Details
-
toString
-
queryMemoryPerNode
public long queryMemoryPerNode()- Specified by:
queryMemoryPerNode
in interfaceQueryQueue.QueueLease
-
release
public void release()Description copied from interface:QueryQueue.QueueLease
Release a query lease obtained fromQueryQueue.enqueue(QueryId, double)
. Should be called by the per-query resource manager.- Specified by:
release
in interfaceQueryQueue.QueueLease
-
queueName
- Specified by:
queueName
in interfaceQueryQueue.QueueLease
-