Class VCacheCasUtils

java.lang.Object
com.atlassian.confluence.impl.vcache.VCacheCasUtils

public final class VCacheCasUtils extends Object
This class was copied from the atlassian-util-vcache library, The methods are direct copies from this library at version 1.1.3
Since:
7.0.1
See Also:
  • Constructor Details

    • VCacheCasUtils

      public VCacheCasUtils()
  • Method Details

    • atomicReplace

      public static <V> io.atlassian.fugue.Either<Throwable,V> atomicReplace(com.atlassian.vcache.DirectExternalCache<V> vcache, String key, Function<V,V> updater, Supplier<V> defaultSupplier, Duration maxDuration)