Class ClusterResourceView


  • public class ClusterResourceView
    extends java.lang.Object
    A view on Kubernetes cluster resources by nodes and their cpu/memory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelPending()  
      void commit()  
      void release​(double cpu, org.apache.flink.configuration.MemorySize memory)  
      java.lang.String toString()  
      boolean tryReserve​(double cpu, org.apache.flink.configuration.MemorySize memory)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClusterResourceView

        public ClusterResourceView()
    • Method Detail

      • tryReserve

        public boolean tryReserve​(double cpu,
                                  org.apache.flink.configuration.MemorySize memory)
      • release

        public void release​(double cpu,
                            org.apache.flink.configuration.MemorySize memory)
      • commit

        public void commit()
      • cancelPending

        public void cancelPending()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object