Interface SizedResourcePool

All Superinterfaces:
ResourcePool

public interface SizedResourcePool extends ResourcePool
A ResourcePool that is explicitly sized.
  • Method Details

    • getSize

      long getSize()
      Gets the size of this pool.
      Returns:
      the size
    • getUnit

      ResourceUnit getUnit()
      Gets the unit in which the resource is sized.
      Returns:
      the size unit