Class AtomicValueOptions<O extends AtomicValueOptions<O,​V>,​V>

  • Type Parameters:
    V - atomic value type
    Direct Known Subclasses:
    AtomicValueBuilder

    public abstract class AtomicValueOptions<O extends AtomicValueOptions<O,​V>,​V>
    extends DistributedPrimitiveOptions<O>
    Builder for constructing new AtomicValue instances.
    • Constructor Detail

      • AtomicValueOptions

        public AtomicValueOptions()
    • Method Detail

      • withCompatibilityFunction

        public O withCompatibilityFunction​(BiFunction<V,​Version,​V> compatibilityFunction)
        Sets a compatibility function on the map.
        Parameters:
        compatibilityFunction - the compatibility function
        Returns:
        the consistent map builder