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

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<V>
          extended by com.atlassian.cache.impl.WeakSupplier<V>
All Implemented Interfaces:
com.atlassian.util.concurrent.Supplier<V>

public class WeakSupplier<V>
extends WeakReference<V>
implements com.atlassian.util.concurrent.Supplier<V>

A supplier that holds a weak reference to its referent. Contrast with StrongSupplier

Since:
v2.0.8

Constructor Summary
WeakSupplier(V referent)
           
 
Method Summary
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.util.concurrent.Supplier
get
 

Constructor Detail

WeakSupplier

public WeakSupplier(V referent)


Copyright © 2014 Atlassian. All Rights Reserved.