Uses of Interface
io.smallrye.common.ref.Reference
-
Uses of Reference in io.smallrye.common.ref
Classes in io.smallrye.common.ref that implement ReferenceModifier and TypeClassDescriptionclassCleanerReference<T,A> A special version ofPhantomReferencethat is strongly retained until it is reaped by the collection thread.classPhantomReference<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 io.smallrye.common.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, Reaper<T, A> reaper) 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.getNullReference()Get anullreference.Methods in io.smallrye.common.ref with parameters of type Reference