Class DecrementOptions

    • Method Detail

      • durability

        public SELF durability​(PersistTo persistTo,
                               ReplicateTo replicateTo)
        Allows to customize the poll-based durability requirements for this operation.

        Note: it is not possible to set this option and durabilityLevel(DurabilityLevel) at the same time.

        Parameters:
        persistTo - the durability persistence requirement.
        replicateTo - the durability replication requirement.
        Returns:
        this options builder for chaining purposes.
      • durabilityLevel

        public SELF durabilityLevel​(DurabilityLevel durabilityLevel)
        Allows to customize the enhanced durability requirements for this operation.

        Note: it is not possible to set this option and durabilityLevel(DurabilityLevel) at the same time.

        Parameters:
        durabilityLevel - the enhanced durability requirement.
        Returns:
        this options builder for chaining purposes.