Interface DataPartitionStorageOptions.Builder

    • Method Detail

      • maximumSize

        DataPartitionStorageOptions.Builder maximumSize​(StorageMaximumSize maximumSize)

        The maximum storage size of the data stored in the data partition.

        Newer data overwrites older data when the partition reaches the maximum size.

        Parameters:
        maximumSize - The maximum storage size of the data stored in the data partition.

        Newer data overwrites older data when the partition reaches the maximum size.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageLocation

        DataPartitionStorageOptions.Builder storageLocation​(String storageLocation)

        The folder name for the data partition under the campaign storage folder.

        Parameters:
        storageLocation - The folder name for the data partition under the campaign storage folder.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumTimeToLive

        DataPartitionStorageOptions.Builder minimumTimeToLive​(StorageMinimumTimeToLive minimumTimeToLive)

        The amount of time that data in this partition will be kept on disk.

        • After the designated amount of time passes, the data can be removed, but it's not guaranteed to be removed.

        • Before the time expires, data in this partition can still be deleted if the partition reaches its configured maximum size.

        • Newer data will overwrite older data when the partition reaches the maximum size.

        Parameters:
        minimumTimeToLive - The amount of time that data in this partition will be kept on disk.

        • After the designated amount of time passes, the data can be removed, but it's not guaranteed to be removed.

        • Before the time expires, data in this partition can still be deleted if the partition reaches its configured maximum size.

        • Newer data will overwrite older data when the partition reaches the maximum size.

        Returns:
        Returns a reference to this object so that method calls can be chained together.