List of usage examples for java.lang.ref WeakReference subclass-usage
From source file org.epochx.ref.MixedReference.java
/** * A MixedReference provides an optionally weak reference. */ public class MixedReference<T> extends WeakReference<T> { // The strong reference which will be null if only using weak.
From source file org.hippoecm.frontend.observation.JcrListener.java
class JcrListener extends WeakReference<EventListener> implements SynchronousEventListener, Comparable<JcrListener> { private final static Logger log = LoggerFactory.getLogger(JcrListener.class); private final static int MAX_EVENTS = Integer.getInteger("hippoecm.observation.maxevents", 10000);