Class ConcurrentOperationMap<K,T>

java.lang.Object
com.atlassian.confluence.impl.util.collections.ConcurrentOperationMap<K,T>

@ThreadSafe @Deprecated public class ConcurrentOperationMap<K,T> extends Object
Deprecated.
since 5.9 use Java 8 compatible version of atlassian-util-concurrent instead
This is conceptual copy&paste of com.atlassian.util.concurrent.ConcurrentOperationMap.

The reason for new version is verbosity of Callable in client code and inability to pass supplier.

This class will be migrated into atlassian-concurrent-util once its java8 branch is released.

  • Constructor Details

    • ConcurrentOperationMap

      public ConcurrentOperationMap()
      Deprecated.
  • Method Details

    • computeIfAbsent

      public T computeIfAbsent(K key, Supplier<T> supplier)
      Deprecated.