Class ResourceProfileInfo

java.lang.Object
org.apache.flink.runtime.rest.messages.ResourceProfileInfo
All Implemented Interfaces:
Serializable, ResponseBody

public class ResourceProfileInfo extends Object implements ResponseBody, Serializable
Contains information of a ResourceProfile.
See Also:
  • Field Details

  • Constructor Details

    • ResourceProfileInfo

      public ResourceProfileInfo(double cpu, int taskHeapMB, int taskOffHeapMB, int managedMB, int networkMB, Map<String,Double> extendedResources)
  • Method Details

    • fromResrouceProfile

      public static ResourceProfileInfo fromResrouceProfile(ResourceProfile resourceProfile)
    • getCpu

      public double getCpu()
    • getTaskHeapMB

      public int getTaskHeapMB()
    • getTaskOffHeapMB

      public int getTaskOffHeapMB()
    • getManagedMB

      public int getManagedMB()
    • getNetworkMB

      public int getNetworkMB()
    • getExtendedResources

      public Map<String,Double> getExtendedResources()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object