Uses of Enum
org.jboss.modules.ref.Reference.Type
Packages that use Reference.Type
Package
Description
Classes which implement reference types which can be cleaned up automatically by a background thread.
-
Uses of Reference.Type in org.jboss.modules.ref
Subclasses with type arguments of type Reference.Type in org.jboss.modules.refMethods in org.jboss.modules.ref that return Reference.TypeModifier and TypeMethodDescriptionPhantomReference.getType()Reference.getType()Get the type of the reference.SoftReference.getType()StrongReference.getType()WeakReference.getType()static Reference.TypeReturns the enum constant of this type with the specified name.static Reference.Type[]Reference.Type.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jboss.modules.ref with parameters of type Reference.TypeModifier 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.