WildFly Common 1.0.0.Alpha2
A C E F G H I M N O P R S T U V W 

A

Assert - Class in org.wildfly.common
A set of assertions and checks.
assertHoldsLock(T) - Static method in class org.wildfly.common.Assert
Assert that the given monitor is held by the current thread.
assertNotHoldsLock(T) - Static method in class org.wildfly.common.Assert
Assert that the given monitor is not held by the current thread.
assertNotNull(T) - Static method in class org.wildfly.common.Assert
Assert that the value is not null.

C

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.

E

equals(Object) - Method in class org.wildfly.common.ref.CleanerReference
 
equals(Object) - Method in class org.wildfly.common.selector.SelectorPermission
 
equals(SelectorPermission) - Method in class org.wildfly.common.selector.SelectorPermission
 

F

Factory<T> - Interface in org.wildfly.common
An object which produces another object.

G

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.

H

hashCode() - Method in class org.wildfly.common.ref.CleanerReference
 

I

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.

M

main(String[]) - Static method in class org.wildfly.common.cpu.CacheInfo
 

N

nullSelector() - Static method in class org.wildfly.common.selector.Selector
Get the null selector.

O

org.wildfly.common - package org.wildfly.common
Common classes for a variety of purposes.
org.wildfly.common.cpu - package org.wildfly.common.cpu
A set of utility classes to determine information about the runtime environment's CPU configuration.
org.wildfly.common.ref - package org.wildfly.common.ref
Classes which implement reference types which can be cleaned up automatically by a background thread.
org.wildfly.common.selector - package org.wildfly.common.selector
Classes which implement a selector pattern, which enables a global provider of some service to be selected depending on context.

P

PhantomReference<T,A> - Class in org.wildfly.common.ref
A reapable phantom reference with an attachment.
PhantomReference(T, A, ReferenceQueue<? super T>) - Constructor for class org.wildfly.common.ref.PhantomReference
Construct a new instance with an explicit reference queue.
PhantomReference(T, A, Reaper<T, A>) - Constructor for class org.wildfly.common.ref.PhantomReference
Construct a new instance with a reaper.

R

reap(Reference<T, A>) - Method in interface org.wildfly.common.ref.Reaper
Perform the cleanup action for a reference.
Reaper<T,A> - Interface in org.wildfly.common.ref
A cleaner for a dead object.
Reference<T,A> - Interface in org.wildfly.common.ref
An enhanced reference type with a type-safe attachment.
Reference.Type - Enum in org.wildfly.common.ref
A reference type.
References - Class in org.wildfly.common.ref
A set of utility methods for reference types.

S

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.

T

ThreadLocalSelector<T> - Class in org.wildfly.common.selector
A thread local selector implementation.
ThreadLocalSelector(ThreadLocal<? extends T>) - Constructor for class org.wildfly.common.selector.ThreadLocalSelector
Construct a new instance.
toString() - Method in class org.wildfly.common.ref.PhantomReference
 
toString() - Method in class org.wildfly.common.ref.SoftReference
 
toString() - Method in class org.wildfly.common.ref.StrongReference
 
toString() - Method in class org.wildfly.common.ref.WeakReference
 

U

unreachableCode() - Static method in class org.wildfly.common.Assert
Return an exception indicating that the current code was intended to be unreachable.
unsupported() - Static method in class org.wildfly.common.Assert
Return an exception explaining that the caller's method is not supported.

V

valueOf(String) - Static method in enum org.wildfly.common.cpu.CacheType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.wildfly.common.ref.Reference.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wildfly.common.cpu.CacheType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.wildfly.common.ref.Reference.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WeakReference<T,A> - Class in org.wildfly.common.ref
A reapable weak reference with an attachment.
WeakReference(T) - Constructor for class org.wildfly.common.ref.WeakReference
Construct a new instance.
WeakReference(T, A) - Constructor for class org.wildfly.common.ref.WeakReference
Construct a new instance.
WeakReference(T, A, ReferenceQueue<? super T>) - Constructor for class org.wildfly.common.ref.WeakReference
Construct a new instance with an explicit reference queue.
WeakReference(T, A, Reaper<T, A>) - Constructor for class org.wildfly.common.ref.WeakReference
Construct a new instance with a reaper.
A C E F G H I M N O P R S T U V W 
WildFly Common 1.0.0.Alpha2

Copyright © 2015 JBoss, a division of Red Hat, Inc.