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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidrelease()Release a query lease obtained fromQueryQueue.enqueue(QueryId, double).toString()
-
Constructor Details
-
Method Details
-
toString
-
queryMemoryPerNode
public long queryMemoryPerNode()- Specified by:
queryMemoryPerNodein interfaceQueryQueue.QueueLease
-
release
public void release()Description copied from interface:QueryQueue.QueueLeaseRelease a query lease obtained fromQueryQueue.enqueue(QueryId, double). Should be called by the per-query resource manager.- Specified by:
releasein interfaceQueryQueue.QueueLease
-
queueName
- Specified by:
queueNamein interfaceQueryQueue.QueueLease
-