Class LazyReferenceAdapter<T>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<T>
-
- io.atlassian.util.concurrent.LazyReference<T>
-
- com.atlassian.confluence.util.misc.LazyReferenceAdapter<T>
-
- All Implemented Interfaces:
Supplier<T>
public class LazyReferenceAdapter<T> extends io.atlassian.util.concurrent.LazyReference<T>
The adapter from com.atlassian.concurrent to io.atlassian.concurrent. Helps to gradually migrate from com. library to corresponding io. library.- Since:
- 7.0.1
-
-
Constructor Summary
Constructors Constructor Description LazyReferenceAdapter(com.atlassian.util.concurrent.LazyReference<T> origin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
create()
-
Methods inherited from class io.atlassian.util.concurrent.LazyReference
cancel, get, getInterruptibly, isInitialized
-
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence
-
-