Interface OpenZFSReadCacheConfiguration.Builder

    • Method Detail

      • sizingMode

        OpenZFSReadCacheConfiguration.Builder sizingMode​(String sizingMode)

        Specifies how the provisioned SSD read cache is sized, as follows:

        • Set to NO_CACHE if you do not want to use an SSD read cache with your Intelligent-Tiering file system.

        • Set to USER_PROVISIONED to specify the exact size of your SSD read cache.

        • Set to PROPORTIONAL_TO_THROUGHPUT_CAPACITY to have your SSD read cache automatically sized based on your throughput capacity.

        Parameters:
        sizingMode - Specifies how the provisioned SSD read cache is sized, as follows:

        • Set to NO_CACHE if you do not want to use an SSD read cache with your Intelligent-Tiering file system.

        • Set to USER_PROVISIONED to specify the exact size of your SSD read cache.

        • Set to PROPORTIONAL_TO_THROUGHPUT_CAPACITY to have your SSD read cache automatically sized based on your throughput capacity.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OpenZFSReadCacheSizingMode, OpenZFSReadCacheSizingMode
      • sizingMode

        OpenZFSReadCacheConfiguration.Builder sizingMode​(OpenZFSReadCacheSizingMode sizingMode)

        Specifies how the provisioned SSD read cache is sized, as follows:

        • Set to NO_CACHE if you do not want to use an SSD read cache with your Intelligent-Tiering file system.

        • Set to USER_PROVISIONED to specify the exact size of your SSD read cache.

        • Set to PROPORTIONAL_TO_THROUGHPUT_CAPACITY to have your SSD read cache automatically sized based on your throughput capacity.

        Parameters:
        sizingMode - Specifies how the provisioned SSD read cache is sized, as follows:

        • Set to NO_CACHE if you do not want to use an SSD read cache with your Intelligent-Tiering file system.

        • Set to USER_PROVISIONED to specify the exact size of your SSD read cache.

        • Set to PROPORTIONAL_TO_THROUGHPUT_CAPACITY to have your SSD read cache automatically sized based on your throughput capacity.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OpenZFSReadCacheSizingMode, OpenZFSReadCacheSizingMode
      • sizeGiB

        OpenZFSReadCacheConfiguration.Builder sizeGiB​(Integer sizeGiB)

        Required if SizingMode is set to USER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB).

        Parameters:
        sizeGiB - Required if SizingMode is set to USER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB).
        Returns:
        Returns a reference to this object so that method calls can be chained together.