com.atlassian.cache.impl
Class StrongSupplier<V>
java.lang.Object
com.atlassian.cache.impl.StrongSupplier<V>
- All Implemented Interfaces:
- com.atlassian.util.concurrent.Supplier<V>
public class StrongSupplier<V>
- extends Object
- implements com.atlassian.util.concurrent.Supplier<V>
A supplier that holds a strong reference to its referent.
Contrast with WeakSupplier
- Since:
- v2.0.8
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrongSupplier
public StrongSupplier(V referent)
get
public V get()
- Specified by:
get in interface com.atlassian.util.concurrent.Supplier<V>
Copyright © 2014 Atlassian. All Rights Reserved.