Index
All Classes and Interfaces|All Packages
C
- CleanerReference<T,
A> - Class in io.smallrye.common.ref -
A special version of
PhantomReferencethat is strongly retained until it is reaped by the collection thread. - CleanerReference(T, A, Reaper<T, A>) - Constructor for class io.smallrye.common.ref.CleanerReference
-
Construct a new instance with a reaper.
- clear() - Method in interface io.smallrye.common.ref.Reference
-
Clear the reference.
- clear() - Method in class io.smallrye.common.ref.StrongReference
- create(Reference.Type, T, A) - Static method in class io.smallrye.common.ref.References
-
Create a reference of a given type with the provided value and attachment.
- create(Reference.Type, T, A, Reaper<T, A>) - Static method in class io.smallrye.common.ref.References
-
Create a reference of a given type with the provided value and attachment.
- create(Reference.Type, T, A, ReferenceQueue<? super T>) - Static method in class io.smallrye.common.ref.References
-
Create a reference of a given type with the provided value and attachment.
E
- equals(Object) - Method in class io.smallrye.common.ref.CleanerReference
G
- get() - Method in interface io.smallrye.common.ref.Reference
-
Get the value, or
nullif the reference has been cleared. - get() - Method in class io.smallrye.common.ref.StrongReference
- getAttachment() - Method in class io.smallrye.common.ref.PhantomReference
- getAttachment() - Method in interface io.smallrye.common.ref.Reference
-
Get the attachment, if any.
- getAttachment() - Method in class io.smallrye.common.ref.SoftReference
- getAttachment() - Method in class io.smallrye.common.ref.StrongReference
- getAttachment() - Method in class io.smallrye.common.ref.WeakReference
- getNullReference() - Static method in class io.smallrye.common.ref.References
-
Get a
nullreference. - getReaper() - Method in class io.smallrye.common.ref.PhantomReference
- getReaper() - Method in class io.smallrye.common.ref.SoftReference
- getReaper() - Method in class io.smallrye.common.ref.WeakReference
- getType() - Method in class io.smallrye.common.ref.PhantomReference
- getType() - Method in interface io.smallrye.common.ref.Reference
-
Get the type of the reference.
- getType() - Method in class io.smallrye.common.ref.SoftReference
- getType() - Method in class io.smallrye.common.ref.StrongReference
- getType() - Method in class io.smallrye.common.ref.WeakReference
H
- hashCode() - Method in class io.smallrye.common.ref.CleanerReference
I
- in(Reference.Type) - Method in enum class io.smallrye.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- in(Reference.Type...) - Method in enum class io.smallrye.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- in(Reference.Type, Reference.Type) - Method in enum class io.smallrye.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- in(Reference.Type, Reference.Type, Reference.Type) - Method in enum class io.smallrye.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- io.smallrye.common.ref - module io.smallrye.common.ref
-
Reference classes which support strong references and attachments.
- io.smallrye.common.ref - package io.smallrye.common.ref
-
Classes which implement reference types which can be cleaned up automatically by a background thread.
- isFull(EnumSet<Reference.Type>) - Static method in enum class io.smallrye.common.ref.Reference.Type
-
Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
N
- NULL - Enum constant in enum class io.smallrye.common.ref.Reference.Type
-
A
nullreference.
P
- PHANTOM - Enum constant in enum class io.smallrye.common.ref.Reference.Type
-
A phantom reference.
- PhantomReference<T,
A> - Class in io.smallrye.common.ref -
A reapable phantom reference with an attachment.
- PhantomReference(T, A, Reaper<T, A>) - Constructor for class io.smallrye.common.ref.PhantomReference
-
Construct a new instance with a reaper.
- PhantomReference(T, A, ReferenceQueue<? super T>) - Constructor for class io.smallrye.common.ref.PhantomReference
-
Construct a new instance with an explicit reference queue.
R
- reap(Reference<T, A>) - Method in interface io.smallrye.common.ref.Reaper
-
Perform the cleanup action for a reference.
- Reaper<T,
A> - Interface in io.smallrye.common.ref -
A cleaner for a dead object.
- Reference<T,
A> - Interface in io.smallrye.common.ref -
An enhanced reference type with a type-safe attachment.
- Reference.Type - Enum Class in io.smallrye.common.ref
-
A reference type.
- References - Class in io.smallrye.common.ref
-
A set of utility methods for reference types.
S
- SOFT - Enum constant in enum class io.smallrye.common.ref.Reference.Type
-
A soft reference.
- SoftReference<T,
A> - Class in io.smallrye.common.ref -
A reapable soft reference with an attachment.
- SoftReference(T) - Constructor for class io.smallrye.common.ref.SoftReference
-
Construct a new instance.
- SoftReference(T, A) - Constructor for class io.smallrye.common.ref.SoftReference
-
Construct a new instance.
- SoftReference(T, A, Reaper<T, A>) - Constructor for class io.smallrye.common.ref.SoftReference
-
Construct a new instance with a reaper.
- SoftReference(T, A, ReferenceQueue<? super T>) - Constructor for class io.smallrye.common.ref.SoftReference
-
Construct a new instance with an explicit reference queue.
- STRONG - Enum constant in enum class io.smallrye.common.ref.Reference.Type
-
A strong reference.
- StrongReference<T,
A> - Class in io.smallrye.common.ref -
A strong reference with an attachment.
- StrongReference(T) - Constructor for class io.smallrye.common.ref.StrongReference
-
Construct a new instance.
- StrongReference(T, A) - Constructor for class io.smallrye.common.ref.StrongReference
-
Construct a new instance.
T
- toString() - Method in class io.smallrye.common.ref.PhantomReference
- toString() - Method in class io.smallrye.common.ref.SoftReference
- toString() - Method in class io.smallrye.common.ref.StrongReference
- toString() - Method in class io.smallrye.common.ref.WeakReference
V
- valueOf(String) - Static method in enum class io.smallrye.common.ref.Reference.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.smallrye.common.ref.Reference.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEAK - Enum constant in enum class io.smallrye.common.ref.Reference.Type
-
A weak reference.
- WeakReference<T,
A> - Class in io.smallrye.common.ref -
A reapable weak reference with an attachment.
- WeakReference(T) - Constructor for class io.smallrye.common.ref.WeakReference
-
Construct a new instance.
- WeakReference(T, A) - Constructor for class io.smallrye.common.ref.WeakReference
-
Construct a new instance.
- WeakReference(T, A, Reaper<T, A>) - Constructor for class io.smallrye.common.ref.WeakReference
-
Construct a new instance with a reaper.
- WeakReference(T, A, ReferenceQueue<? super T>) - Constructor for class io.smallrye.common.ref.WeakReference
-
Construct a new instance with an explicit reference queue.
All Classes and Interfaces|All Packages