public class NodeResourceUtil extends Object
ExecNode
.Modifier and Type | Field and Description |
---|---|
static long |
SIZE_IN_MB
How many Bytes per MB.
|
Constructor and Description |
---|
NodeResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static ResourceSpec |
fromManagedMem(int managedMem)
Build resourceSpec from managedMem.
|
public static final long SIZE_IN_MB
public static ResourceSpec fromManagedMem(int managedMem)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.