Interface ResourceDeclarer<T extends ResourceDeclarer>

    • Method Detail

      • setMemoryLoad

        T setMemoryLoad​(Number onHeap)
        Set the amount of on heap memory for this component.
        Parameters:
        onHeap - the amount of on heap memory
        Returns:
        this for chaining
      • setMemoryLoad

        T setMemoryLoad​(Number onHeap,
                        Number offHeap)
        Set the amount of memory for this component on and off heap.
        Parameters:
        onHeap - the amount of on heap memory
        offHeap - the amount of off heap memory
        Returns:
        this for chaining
      • setCPULoad

        T setCPULoad​(Number amount)
        Set the amount of CPU load for this component.
        Parameters:
        amount - the amount of CPU
        Returns:
        this for chaining