Class ResourceProfileInfo
java.lang.Object
org.apache.flink.runtime.rest.messages.ResourceProfileInfo
- All Implemented Interfaces:
Serializable,ResponseBody
Contains information of a
ResourceProfile.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResourceProfileInfo(double cpu, int taskHeapMB, int taskOffHeapMB, int managedMB, int networkMB, Map<String, Double> extendedResources) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ResourceProfileInfofromResrouceProfile(ResourceProfile resourceProfile) doublegetCpu()intintintintinthashCode()
-
Field Details
-
FIELD_NAME_CPU
- See Also:
-
FIELD_NAME_TASK_HEAP
- See Also:
-
FIELD_NAME_TASK_OFFHEAP
- See Also:
-
FIELD_NAME_MANAGED
- See Also:
-
FIELD_NAME_NETWORK
- See Also:
-
FIELD_NAME_EXTENDED
- See Also:
-
-
Constructor Details
-
ResourceProfileInfo
-
-
Method Details
-
fromResrouceProfile
-
getCpu
public double getCpu() -
getTaskHeapMB
public int getTaskHeapMB() -
getTaskOffHeapMB
public int getTaskOffHeapMB() -
getManagedMB
public int getManagedMB() -
getNetworkMB
public int getNetworkMB() -
getExtendedResources
-
equals
-
hashCode
public int hashCode()
-