Package org.aksw.commons.util.ref
-
Interface Summary Interface Description Ref<T> Interface for nested references.RefDelegate<T,R extends Ref<T>> Interface with default methods that delegate Ref's methodsRefFuture<T> In principle a typedef for Ref> RefSupplier<T> ResourceHolder<T> -
Class Summary Class Description LazyRef<T> A supplier for a ref backed by a root ref.RefDelegateBase<T,R extends Ref<T>> RefFutureImpl<T> RefImpl<T> Implementation of aRefTODO Avoid needless synchronization; a ConcurrentHashMap may help; ref.equals could do only reference comparisonResourceHolderImpl<T> Associate a resource with a closing mechanismSingletonLazyRef<T> A wrapper that turns a supplier of references into a singleton such that at any given time (on a specific jvm) only a most a single reference will have been acquired from that supplier.