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.
    • Field Detail

      • compatibilityFunction

        protected java.util.function.BiFunction<V,​Version,​V> compatibilityFunction
    • Constructor Detail

      • AtomicValueOptions

        public AtomicValueOptions()
    • Method Detail

      • withCompatibilityFunction

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