public interface ResourceManager
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
cpusPerNode() |
long |
memoryPerNode()
Returns the memory, in bytes, assigned to each node in a Drill cluster.
|
QueryResourceManager |
newQueryRM(Foreman foreman)
Create a resource manager to execute a query.
|
QueryResourceAllocator |
newResourceAllocator(QueryContext queryContext)
Create a resource manager to prepare or describe a query.
|
long memoryPerNode()
int cpusPerNode()
QueryResourceAllocator newResourceAllocator(QueryContext queryContext)
QueryResourceManager newQueryRM(Foreman foreman)
foreman
- Foreman which manages the executionvoid close()
Copyright © 1970 The Apache Software Foundation. All rights reserved.