Class MemoryBudget


  • public class MemoryBudget
    extends java.lang.Object
    Accounting for distributing memory over the available pools.
    • Constructor Summary

      Constructors 
      Constructor Description
      MemoryBudget​(long remaining)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long budget​(long amount)  
      long getRemaining()  
      • Methods inherited from class java.lang.Object

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

      • MemoryBudget

        public MemoryBudget​(long remaining)
    • Method Detail

      • budget

        public long budget​(long amount)
      • getRemaining

        public long getRemaining()