- CacheInfo - Class in org.wildfly.common.cpu
-
A class which exposes any available cache line information for the current CPU.
- CacheInfo() - Constructor for class org.wildfly.common.cpu.CacheInfo
-
- CacheLevelInfo - Class in org.wildfly.common.cpu
-
- CacheType - Enum in org.wildfly.common.cpu
-
The type of cache.
- checkArrayBounds(Object[], int, int) - Static method in class org.wildfly.common.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(byte[], int, int) - Static method in class org.wildfly.common.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(char[], int, int) - Static method in class org.wildfly.common.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(int[], int, int) - Static method in class org.wildfly.common.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(long[], int, int) - Static method in class org.wildfly.common.Assert
-
Check that the given offset and length fall completely within the bounds of the given array.
- checkArrayBounds(int, int, int) - Static method in class org.wildfly.common.Assert
-
Check that the given offset and length fall completely within the bounds of the given array length.
- checkMaximumParameter(String, int, int) - Static method in class org.wildfly.common.Assert
-
Check that the named parameter is less than or equal to max
.
- checkMaximumParameter(String, long, long) - Static method in class org.wildfly.common.Assert
-
Check that the named parameter is less than or equal to max
.
- checkMinimumParameter(String, int, int) - Static method in class org.wildfly.common.Assert
-
Check that the named parameter is greater than or equal to min
.
- checkMinimumParameter(String, long, long) - Static method in class org.wildfly.common.Assert
-
Check that the named parameter is greater than or equal to min
.
- checkNotNullArrayParam(String, int, T) - Static method in class org.wildfly.common.Assert
-
Check that a value within the named array parameter is not null
.
- checkNotNullParam(String, T) - Static method in class org.wildfly.common.Assert
-
Check that the named parameter is not null
.
- CleanerReference<T,A> - Class in org.wildfly.common.ref
-
A special version of
PhantomReference
that is strongly retained until it is reaped by the collection thread.
- CleanerReference(T, A, Reaper<T, A>) - Constructor for class org.wildfly.common.ref.CleanerReference
-
Construct a new instance with a reaper.
- clear() - Method in interface org.wildfly.common.ref.Reference
-
Clear the reference.
- clear() - Method in class org.wildfly.common.ref.StrongReference
-
- create() - Method in interface org.wildfly.common.Factory
-
Create the object.
- create(Reference.Type, T, A, Reaper<T, A>) - Static method in class org.wildfly.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 org.wildfly.common.ref.References
-
Create a reference of a given type with the provided value and attachment.
- create(Reference.Type, T, A) - Static method in class org.wildfly.common.ref.References
-
Create a reference of a given type with the provided value and attachment.
- get() - Method in interface org.wildfly.common.ref.Reference
-
Get the value, or null
if the reference has been cleared.
- get() - Method in class org.wildfly.common.ref.StrongReference
-
- get() - Method in class org.wildfly.common.selector.GlobalSelector
-
- get() - Method in class org.wildfly.common.selector.Selector
-
Get the currently relevant object, or null
if there is none.
- get() - Method in class org.wildfly.common.selector.ThreadLocalSelector
-
- getActions() - Method in class org.wildfly.common.selector.SelectorPermission
-
- getAttachment() - Method in class org.wildfly.common.ref.PhantomReference
-
- getAttachment() - Method in interface org.wildfly.common.ref.Reference
-
Get the attachment, if any.
- getAttachment() - Method in class org.wildfly.common.ref.SoftReference
-
- getAttachment() - Method in class org.wildfly.common.ref.StrongReference
-
- getAttachment() - Method in class org.wildfly.common.ref.WeakReference
-
- getCacheLevel() - Method in class org.wildfly.common.cpu.CacheLevelInfo
-
Get the level index.
- getCacheLevelInfo(int) - Static method in class org.wildfly.common.cpu.CacheInfo
-
Get the CPU cache level information for a cache level.
- getCacheLevelSizeKB() - Method in class org.wildfly.common.cpu.CacheLevelInfo
-
Get the size of this cache level in kilobytes.
- getCacheLineSize() - Method in class org.wildfly.common.cpu.CacheLevelInfo
-
Get the cache line size in bytes.
- getCacheType() - Method in class org.wildfly.common.cpu.CacheLevelInfo
-
Get the type of cache.
- getChangePermissionFor(Class<?>) - Static method in class org.wildfly.common.selector.Selector
-
Get the change
permission for the given class.
- getGetPermissionFor(Class<?>) - Static method in class org.wildfly.common.selector.Selector
-
Get the get
permission for the given class.
- getLevelEntryCount() - Static method in class org.wildfly.common.cpu.CacheInfo
-
Get the number of CPU cache level entries.
- getNullReference() - Static method in class org.wildfly.common.ref.References
-
Get a null reference.
- getReaper() - Method in class org.wildfly.common.ref.PhantomReference
-
- getReaper() - Method in class org.wildfly.common.ref.SoftReference
-
- getReaper() - Method in class org.wildfly.common.ref.WeakReference
-
- getSelector() - Method in class org.wildfly.common.selector.Selector.Getter
-
Get the selector for this getter.
- getSetPermissionFor(Class<?>) - Static method in class org.wildfly.common.selector.Selector
-
Get the set
permission for the given class.
- getSmallestDataCacheLineSize() - Static method in class org.wildfly.common.cpu.CacheInfo
-
Get the smallest known data cache line size.
- getSmallestInstructionCacheLineSize() - Static method in class org.wildfly.common.cpu.CacheInfo
-
Get the smallest known instruction cache line size.
- getType() - Method in class org.wildfly.common.ref.PhantomReference
-
- getType() - Method in interface org.wildfly.common.ref.Reference
-
Get the type of the reference.
- getType() - Method in class org.wildfly.common.ref.SoftReference
-
- getType() - Method in class org.wildfly.common.ref.StrongReference
-
- getType() - Method in class org.wildfly.common.ref.WeakReference
-
- GlobalSelector<T> - Class in org.wildfly.common.selector
-
A selector which always returns one global instance.
- GlobalSelector(T) - Constructor for class org.wildfly.common.selector.GlobalSelector
-
Construct a new instance.
- implies(Permission) - Method in class org.wildfly.common.selector.SelectorPermission
-
- implies(SelectorPermission) - Method in class org.wildfly.common.selector.SelectorPermission
-
- impossibleSwitchCase(Object) - Static method in class org.wildfly.common.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- impossibleSwitchCase(int) - Static method in class org.wildfly.common.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- impossibleSwitchCase(long) - Static method in class org.wildfly.common.Assert
-
Return an exception indicating that the current switch case was intended to be unreachable.
- in(CacheType) - Method in enum org.wildfly.common.cpu.CacheType
-
Determine whether this instance is equal to one of the given instances.
- in(CacheType, CacheType) - Method in enum org.wildfly.common.cpu.CacheType
-
Determine whether this instance is equal to one of the given instances.
- in(CacheType, CacheType, CacheType) - Method in enum org.wildfly.common.cpu.CacheType
-
Determine whether this instance is equal to one of the given instances.
- in(CacheType...) - Method in enum org.wildfly.common.cpu.CacheType
-
Determine whether this instance is equal to one of the given instances.
- in(Reference.Type) - Method in enum org.wildfly.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- in(Reference.Type, Reference.Type) - Method in enum org.wildfly.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 org.wildfly.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- in(Reference.Type...) - Method in enum org.wildfly.common.ref.Reference.Type
-
Determine whether this instance is equal to one of the given instances.
- isData() - Method in enum org.wildfly.common.cpu.CacheType
-
Determine if this cache line type holds data.
- isFull(EnumSet<CacheType>) - Static method in enum org.wildfly.common.cpu.CacheType
-
Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
- isFull(EnumSet<Reference.Type>) - Static method in enum org.wildfly.common.ref.Reference.Type
-
Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
- isInstruction() - Method in enum org.wildfly.common.cpu.CacheType
-
Determine if this cache line type holds instructions.
- Selector<T> - Class in org.wildfly.common.selector
-
A selector for an object which is obtainable via static context.
- Selector() - Constructor for class org.wildfly.common.selector.Selector
-
- Selector.Getter<T> - Class in org.wildfly.common.selector
-
An efficient, unchecked getter for a selector for a given class.
- selectorFor(Class<T>) - Static method in class org.wildfly.common.selector.Selector
-
Get the selector for a given class.
- selectorGetterActionFor(Class<T>) - Static method in class org.wildfly.common.selector.Selector
-
Get a privileged action which returns the getter for a selector.
- selectorGetterFor(Class<T>) - Static method in class org.wildfly.common.selector.Selector
-
Get an efficient, unchecked selector getter for a given class.
- SelectorPermission - Class in org.wildfly.common.selector
-
Permission to access a specific selector.
- SelectorPermission(String, String) - Constructor for class org.wildfly.common.selector.SelectorPermission
-
- setSelectorFor(Class<T>, Selector<T>) - Static method in class org.wildfly.common.selector.Selector
-
Set the selector for a given class.
- SoftReference<T,A> - Class in org.wildfly.common.ref
-
A reapable soft reference with an attachment.
- SoftReference(T) - Constructor for class org.wildfly.common.ref.SoftReference
-
Construct a new instance.
- SoftReference(T, A) - Constructor for class org.wildfly.common.ref.SoftReference
-
Construct a new instance.
- SoftReference(T, A, ReferenceQueue<? super T>) - Constructor for class org.wildfly.common.ref.SoftReference
-
Construct a new instance with an explicit reference queue.
- SoftReference(T, A, Reaper<T, A>) - Constructor for class org.wildfly.common.ref.SoftReference
-
Construct a new instance with a reaper.
- StrongReference<T,A> - Class in org.wildfly.common.ref
-
A strong reference with an attachment.
- StrongReference(T, A) - Constructor for class org.wildfly.common.ref.StrongReference
-
Construct a new instance.
- StrongReference(T) - Constructor for class org.wildfly.common.ref.StrongReference
-
Construct a new instance.