public class EmbeddedQueryQueue.EmbeddedQueueLease extends Object implements QueryQueue.QueueLease
Constructor and Description |
---|
EmbeddedQueueLease(UserBitShared.QueryId queryId,
long queryMemory) |
Modifier and Type | Method and Description |
---|---|
long |
queryMemoryPerNode() |
String |
queueName() |
void |
release()
Release a query lease obtained from
#enqueue(QueryId, double) . |
String |
toString() |
public EmbeddedQueueLease(UserBitShared.QueryId queryId, long queryMemory)
public long queryMemoryPerNode()
queryMemoryPerNode
in interface QueryQueue.QueueLease
public void release()
QueryQueue.QueueLease
#enqueue(QueryId, double)
.
Should be called by the per-query resource manager.release
in interface QueryQueue.QueueLease
public String queueName()
queueName
in interface QueryQueue.QueueLease
Copyright © 1970 The Apache Software Foundation. All rights reserved.