public abstract class AbstractResourceManager extends Object implements ResourceManager
| Modifier and Type | Field and Description |
|---|---|
protected DrillbitContext |
context |
| Constructor and Description |
|---|
AbstractResourceManager(DrillbitContext context) |
| Modifier and Type | Method and Description |
|---|---|
int |
cpusPerNode() |
long |
memoryPerNode()
Returns the memory, in bytes, assigned to each node in a Drill cluster.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, newQueryRM, newResourceAllocatorprotected final DrillbitContext context
public AbstractResourceManager(DrillbitContext context)
public long memoryPerNode()
ResourceManagermemoryPerNode in interface ResourceManagerpublic int cpusPerNode()
cpusPerNode in interface ResourceManagerCopyright © 2021 The Apache Software Foundation. All rights reserved.