Uses of Class
org.wildfly.common.ref.Reference.Type
-
Packages that use Reference.Type Package Description org.wildfly.common.ref Classes which implement reference types which can be cleaned up automatically by a background thread. -
-
Uses of Reference.Type in org.wildfly.common.ref
Methods in org.wildfly.common.ref that return Reference.Type Modifier and Type Method Description Reference.Type
PhantomReference. getType()
Reference.Type
Reference. getType()
Get the type of the reference.Reference.Type
SoftReference. getType()
Reference.Type
StrongReference. getType()
Reference.Type
WeakReference. getType()
static Reference.Type
Reference.Type. valueOf(java.lang.String name)
Returns 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.wildfly.common.ref with parameters of type Reference.Type Modifier and Type Method Description static <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, java.lang.ref.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.boolean
Reference.Type. in(Reference.Type v1)
Determine whether this instance is equal to one of the given instances.boolean
Reference.Type. in(Reference.Type... values)
Determine whether this instance is equal to one of the given instances.boolean
Reference.Type. in(Reference.Type v1, Reference.Type v2)
Determine whether this instance is equal to one of the given instances.boolean
Reference.Type. in(Reference.Type v1, Reference.Type v2, Reference.Type v3)
Determine whether this instance is equal to one of the given instances.Method parameters in org.wildfly.common.ref with type arguments of type Reference.Type Modifier and Type Method Description static boolean
Reference.Type. isFull(java.util.EnumSet<Reference.Type> set)
Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
-