Uses of Interface
org.jboss.modules.ref.Reference
Packages that use Reference
Package
Description
Classes which implement reference types which can be cleaned up automatically by a background thread.
-
Uses of Reference in org.jboss.modules.ref
Classes in org.jboss.modules.ref that implement ReferenceModifier and TypeClassDescriptionclassPhantomReference<T,A> A reapable phantom reference with an attachment.classSoftReference<T,A> A reapable soft reference with an attachment.classStrongReference<T,A> A strong reference with an attachment.classWeakReference<T,A> A reapable weak reference with an attachment.Methods in org.jboss.modules.ref that return ReferenceModifier and TypeMethodDescriptionstatic <T,A> Reference <T, A> References.create(Reference.Type type, T value, A attachment) Create a reference of a given type with the provided value and attachment.static <T,A> Reference <T, A> References.create(Reference.Type type, T value, A attachment, ReferenceQueue<? super T> referenceQueue) Create a reference of a given type with the provided value and attachment.static <T,A> Reference <T, A> References.create(Reference.Type type, T value, A attachment, Reaper<T, A> reaper) Create a reference of a given type with the provided value and attachment.static <T,A> Reference <T, A> References.getNullReference()Get a null reference.Methods in org.jboss.modules.ref with parameters of type Reference