Interface DataStorage.Builder

    • Method Detail

      • maximum

        DataStorage.Builder maximum​(Integer maximum)

        The upper limit for data storage the cache is set to use.

        Parameters:
        maximum - The upper limit for data storage the cache is set to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimum

        DataStorage.Builder minimum​(Integer minimum)

        The lower limit for data storage the cache is set to use.

        Parameters:
        minimum - The lower limit for data storage the cache is set to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        DataStorage.Builder unit​(String unit)

        The unit that the storage is measured in, in GB.

        Parameters:
        unit - The unit that the storage is measured in, in GB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DataStorageUnit, DataStorageUnit