public class ResourceProfileInfo extends Object implements ResponseBody, Serializable
ResourceProfile
.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_CPU |
static String |
FIELD_NAME_EXTENDED |
static String |
FIELD_NAME_MANAGED |
static String |
FIELD_NAME_NETWORK |
static String |
FIELD_NAME_TASK_HEAP |
static String |
FIELD_NAME_TASK_OFFHEAP |
Constructor and Description |
---|
ResourceProfileInfo(double cpu,
int taskHeapMB,
int taskOffHeapMB,
int managedMB,
int networkMB,
Map<String,Double> extendedResources) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ResourceProfileInfo |
fromResrouceProfile(ResourceProfile resourceProfile) |
double |
getCpu() |
Map<String,Double> |
getExtendedResources() |
int |
getManagedMB() |
int |
getNetworkMB() |
int |
getTaskHeapMB() |
int |
getTaskOffHeapMB() |
int |
hashCode() |
public static final String FIELD_NAME_CPU
public static final String FIELD_NAME_TASK_HEAP
public static final String FIELD_NAME_TASK_OFFHEAP
public static final String FIELD_NAME_MANAGED
public static final String FIELD_NAME_NETWORK
public static final String FIELD_NAME_EXTENDED
public static ResourceProfileInfo fromResrouceProfile(ResourceProfile resourceProfile)
public double getCpu()
public int getTaskHeapMB()
public int getTaskOffHeapMB()
public int getManagedMB()
public int getNetworkMB()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.