Class NodeResources
java.lang.Object
org.apache.drill.exec.resourcemgr.NodeResources
Provides resources for a node in cluster. Currently it is used to support only 2 kind of resources:
- Memory
- Virtual CPU count
-
Constructor Summary
ConstructorDescriptionNodeResources
(long memoryInBytes, int numVirtualCpu) NodeResources
(long memoryInBytes, int numPhysicalCpu, int vFactor) -
Method Summary
-
Constructor Details
-
NodeResources
public NodeResources(long memoryInBytes, int numVirtualCpu) -
NodeResources
public NodeResources(long memoryInBytes, int numPhysicalCpu, int vFactor)
-
-
Method Details