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, wait
close, newQueryRM, newResourceAllocator
protected final DrillbitContext context
public AbstractResourceManager(DrillbitContext context)
public long memoryPerNode()
ResourceManager
memoryPerNode
in interface ResourceManager
public int cpusPerNode()
cpusPerNode
in interface ResourceManager
Copyright © 1970 The Apache Software Foundation. All rights reserved.