com.atlassian.cache.impl
Class StrongSupplier<V>

java.lang.Object
  extended by 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

Constructor Summary
StrongSupplier(V referent)
           
 
Method Summary
 V get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrongSupplier

public StrongSupplier(V referent)
Method Detail

get

public V get()
Specified by:
get in interface com.atlassian.util.concurrent.Supplier<V>


Copyright © 2015 Atlassian. All rights reserved.