Skip navigation links
WildFly Common 1.0.0.Alpha1
A C E F G I 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

checkNotNullParam(String, T) - Static method in class org.wildfly.common.Assert
Check that the named parameter is not null.
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.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
 
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.
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.
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.

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.

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.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.

V

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.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 I N O P R S T U V W 
Skip navigation links
WildFly Common 1.0.0.Alpha1

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