- Action - Interface in org.glassfish.pfl.basic.fsm
-
An Action may be associated with a transition between to
states.
- Action.Base - Class in org.glassfish.pfl.basic.fsm
-
- Action.Base(String) - Constructor for class org.glassfish.pfl.basic.fsm.Action.Base
-
- add(E) - Method in class org.glassfish.pfl.basic.contain.MultiSet
-
- add(Object) - Method in class org.glassfish.pfl.basic.contain.ObjectSet
-
- add(State, Input, Guard, Action, State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Add a new transition (old,in,guard,act,new) to the state engine.
- add(State, Set<Input>, Guard, Action, State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Repeatedly calls add( State, Input, Guard, Action, State ) for
each element of input.
- add(State, Input, Action, State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Add a transition with a guard that always evaluates to true.
- add(State, Set<Input>, Action, State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Repeatedly call add( State, Input, Action, State ) for each
element of input.
- add(T) - Method in class org.glassfish.pfl.basic.graph.GraphImpl
-
- addAnnotation(AnnotatedElement, Annotation) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Add an annotation to element, which must be a Class, Method,
or Constructor.
- addFacet(T) - Method in interface org.glassfish.pfl.basic.facet.FacetAccessor
-
Add a facet to the object.
- addFacet(T) - Method in class org.glassfish.pfl.basic.facet.FacetAccessorImpl
-
- addInheritedAnnotations(Class<?>, Class<?>) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Add all annotations on cls (including inherited annotations
and its methods (including overridden methods in super classes and
interfaces) to super (which must be a super class or interface of cls).
- addInvocationHandler(Class<?>, InvocationHandler) - Method in interface org.glassfish.pfl.basic.proxy.CompositeInvocationHandler
-
Add an invocation handler for all methods on interface interf.
- addInvocationHandler(Class<?>, InvocationHandler) - Method in class org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
-
- Algorithms - Class in org.glassfish.pfl.basic.algorithm
-
- Algorithms.Action<T> - Interface in org.glassfish.pfl.basic.algorithm
-
- and(UnaryPredicate<A>, UnaryPredicate<A>) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
- and(Guard.Base.Predicate, Guard.Base.Predicate) - Static method in class org.glassfish.pfl.basic.fsm.Guard.Base
-
- AnnotationAnalyzer - Class in org.glassfish.pfl.basic.algorithm
-
Given an AnnotatedElement, fetch all of the inherited annotations.
- AnnotationAnalyzer() - Constructor for class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
- append(boolean) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(char) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(short) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(int) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(long) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(float) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(double) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(String) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- append(Object) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- appendObjectHeader(Object) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- Chain - Annotation Type in org.glassfish.pfl.basic.logex
-
This annotation is applied to an interface or abstract class that is used
to define methods for logging and/or constructing exceptions.
- ClassAnalyzer - Class in org.glassfish.pfl.basic.algorithm
-
Analyzes class inheritance hiearchy and provides methods for searching for
classes and methods.
- clear() - Method in class org.glassfish.pfl.basic.concurrent.SoftCache
-
Remove all mappings from this cache.
- clear() - Method in class org.glassfish.pfl.basic.concurrent.WeakCache
-
Remove all entries from the cache.
- clear() - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Removes all of the mappings from this map.
- clear() - Method in class org.glassfish.pfl.basic.graph.NodeData
-
- clear() - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
- compactObjectToString(Object) - Static method in class org.glassfish.pfl.basic.algorithm.ObjectUtility
-
A convenience method that gives the default behavior: do not use
indenting to display the object's structure.
- compare(T, T) - Method in class org.glassfish.pfl.basic.contain.NaturalComparator
-
- compare(Pair<S, T>, Pair<S, T>) - Method in class org.glassfish.pfl.basic.contain.PairComparator
-
- compose(Action, Action) - Static method in class org.glassfish.pfl.basic.fsm.Action.Base
-
- CompositeInvocationHandler - Interface in org.glassfish.pfl.basic.proxy
-
- CompositeInvocationHandlerImpl - Class in org.glassfish.pfl.basic.proxy
-
- CompositeInvocationHandlerImpl() - Constructor for class org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
-
- constant(int) - Static method in class org.glassfish.pfl.basic.fsm.Guard.Base
-
- contains(E) - Method in class org.glassfish.pfl.basic.contain.MultiSet
-
- contains(Object) - Method in class org.glassfish.pfl.basic.contain.ObjectSet
-
- containsKey(Object) - Method in class org.glassfish.pfl.basic.concurrent.SoftCache
-
Return true
if this cache contains a mapping for the
specified key.
- containsKey(Object) - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Returns true if this map contains a mapping for the
specified key.
- containsValue(Object) - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Returns true if this map maps one or more keys to the
specified value.
- content() - Method in class org.glassfish.pfl.basic.contain.Holder
-
- content(T) - Method in class org.glassfish.pfl.basic.contain.Holder
-
- content() - Method in class org.glassfish.pfl.basic.contain.SynchronizedHolder
-
- content(T) - Method in class org.glassfish.pfl.basic.contain.SynchronizedHolder
-
- convertToList(Object) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
Converts obj from an Array to a List, if obj is an array.
- convertToString(Object) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
Convert argument to String, either by toString, ot Arrays.toString.
- convertToString(Object) - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
- create() - Static method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Create an empty uninitialized state engine.
- create(Object) - Static method in class org.glassfish.pfl.basic.proxy.DelegateInvocationHandlerImpl
-
- DEFAULT_INCREMENT - Static variable in class org.glassfish.pfl.basic.algorithm.Printer
-
- defaultObjectToString(Object) - Static method in class org.glassfish.pfl.basic.algorithm.ObjectUtility
-
A convenience method that gives the default behavior: use indenting
to display the object's structure and do not use built-in toString
methods.
- defineClass(String, byte[], ClassLoader, ProtectionDomain) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Defines a class is a specified classloader.
- DelayedObjectToString - Class in org.glassfish.pfl.basic.algorithm
-
- DelayedObjectToString(Object, ObjectUtility) - Constructor for class org.glassfish.pfl.basic.algorithm.DelayedObjectToString
-
- DelegateInvocationHandlerImpl - Class in org.glassfish.pfl.basic.proxy
-
- DenseIntMapImpl<E> - Class in org.glassfish.pfl.basic.contain
-
Utility for managing mappings from densely allocated integer
keys to arbitrary objects.
- DenseIntMapImpl() - Constructor for class org.glassfish.pfl.basic.contain.DenseIntMapImpl
-
- disable() - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
- Display<K,V> - Class in org.glassfish.pfl.basic.contain
-
Supports a Display as typically found in Lexical scoping.
- Display() - Constructor for class org.glassfish.pfl.basic.contain.Display
-
- doIt(FSM, Input) - Method in interface org.glassfish.pfl.basic.fsm.Action
-
Called by the state engine to perform an action
before a state transition takes place.
- doIt(Input) - Method in class org.glassfish.pfl.basic.fsm.Runner
-
Perform the transition for the given input in the current state.
- doIt(Runner, Input, boolean) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Actually perform a state transition on the FSM on
the runner.peek() FSM under Input in.
- done() - Method in class org.glassfish.pfl.basic.fsm.Runner
-
Return true if the stack is empty, which means that the runner is
finished.
- done() - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Called after all transitions have been added to the state engine.
- doPrivileged(Algorithms.Action<T>) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
- DumpIgnore - Annotation Type in org.glassfish.pfl.basic.algorithm
-
This annotation is applied to a field to indicate that it should
not be displayed by ObjectUtility.*ToString.
- DumpToString - Annotation Type in org.glassfish.pfl.basic.algorithm
-
This annotation is applied to a field to indicate that it should
be displayed by ObjectUtility.*ToString using its toString() value.
- DynamicAccessPermission - Class in org.glassfish.pfl.basic.proxy
-
This class controls the use of dynamic proxies.
- DynamicAccessPermission(String) - Constructor for class org.glassfish.pfl.basic.proxy.DynamicAccessPermission
-
Creates a new DynamicAccessPermission with the specified name.
- DynamicAccessPermission(String, String) - Constructor for class org.glassfish.pfl.basic.proxy.DynamicAccessPermission
-
Creates a new DynamicAccessPermission object with the specified name.
- ge(Guard.Base.IntFunc, Guard.Base.IntFunc) - Static method in class org.glassfish.pfl.basic.fsm.Guard.Base
-
- get(Object) - Method in class org.glassfish.pfl.basic.concurrent.SoftCache
-
Return the value to which this cache maps the specified
key
.
- get(K) - Method in class org.glassfish.pfl.basic.concurrent.WeakCache
-
Return the value (if any) associated with key.
- get(Object) - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Returns the value to which the specified key is mapped,
or null
if this map contains no mapping for the key.
- get(int) - Method in class org.glassfish.pfl.basic.contain.DenseIntMapImpl
-
If key >= 0, return the value bound to key, or null if none.
- get(int) - Method in interface org.glassfish.pfl.basic.contain.IntMap
-
If key >= 0, return the value bound to key, or null if none.
- get() - Method in class org.glassfish.pfl.basic.contain.ResourceFactory
-
- get(Field) - Method in interface org.glassfish.pfl.basic.facet.FacetAccessor
-
Fetch the value of the field from whichever facet contains the field.
- get(Field) - Method in class org.glassfish.pfl.basic.facet.FacetAccessorImpl
-
- get() - Static method in class org.glassfish.pfl.basic.reflection.Bridge
-
Fetch the Bridge singleton.
- getAction() - Method in class org.glassfish.pfl.basic.fsm.Transition
-
- getAnnotation(AnnotatedElement, Class<A>) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
- getAnnotations(Class<?>) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Return a map of all annotations defined on cls and its super
classes and interfaces in ClassAnalyzer order.
- getAnnotations(Method) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Return a map of all annotations defined in method and its overriden
methods in the inheritance order of the ClassAnalyzer for the method's
defining class.
- getAnnotations(Constructor<?>) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Same as cons.getAnnotations, with the result converted to a map.
- getAnnotations(Field) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Same as fld.getAnnotations, with the result converted to a map.
- getAnnotations(Package) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Same as pkg.getAnnotations, with the result converted to a map.
- getAnnotations(AnnotatedElement) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Return all annotations on the element, including any added annotations.
- getAnnotationValues(Annotation, boolean) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
Given an annotation, return a Map that maps each field (given by a
method name) to its value in the annotation.
- getAsString() - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
Return the current contents of the OperationTracer state
for the current thread.
- getBoolean(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getByte(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getChar(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getChildren() - Method in interface org.glassfish.pfl.basic.graph.Node
-
Get all the children of this node.
- getClassAnalyzer(Class<?>) - Static method in class org.glassfish.pfl.basic.algorithm.ClassAnalyzer
-
- getDefaultAction() - Method in class org.glassfish.pfl.basic.fsm.State
-
Get the default transition action that is used if the default next
state is used.
- getDefaultNextState() - Method in class org.glassfish.pfl.basic.fsm.State
-
Return the default next state for this state.
- getDouble(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getFieldValue(Object, Field) - Static method in class org.glassfish.pfl.basic.reflection.FieldValueHelper
-
Returns the value of a field in an object.
- getFirst(Collection<T>, Runnable) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
Return the first element of the list, or invoke handleEmptyList if
list is empty.
- getFloat(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getGuard() - Method in class org.glassfish.pfl.basic.fsm.Transition
-
- getInputMap() - Method in class org.glassfish.pfl.basic.fsm.State
-
- getInt(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Fetches a field element within the given
object o
at the given offset.
- getInvocationHandler() - Method in interface org.glassfish.pfl.basic.proxy.InvocationHandlerFactory
-
Get an InvocationHandler.
- getKind() - Method in class org.glassfish.pfl.basic.fsm.State
-
Return the Kind of this state.
- getLatestUserDefinedLoader() - Method in class org.glassfish.pfl.basic.reflection.Bridge
-
- getLatestUserDefinedLoader() - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Obtain the latest user defined ClassLoader from the call stack.
- getLevel() - Method in enum org.glassfish.pfl.basic.logex.LogLevel
-
- getLoggerName(Class<?>) - Method in interface org.glassfish.pfl.basic.logex.WrapperGenerator.Extension
-
Modify the default logger name if needed.
- getLoggerName(Class<?>) - Method in class org.glassfish.pfl.basic.logex.WrapperGenerator.ExtensionBase
-
- getLogId(Method) - Method in interface org.glassfish.pfl.basic.logex.WrapperGenerator.Extension
-
Get a message id for this log.
- getLogId(Method) - Method in class org.glassfish.pfl.basic.logex.WrapperGenerator.ExtensionBase
-
- getLong(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getMessageInfo() - Method in interface org.glassfish.pfl.basic.logex.WrapperGenerator.MessageInfo
-
Return a map from message ID to message for all exceptions
defined in a @ExceptionWrapper interface.
- getName() - Method in class org.glassfish.pfl.basic.fsm.NameBase
-
- getNextState() - Method in class org.glassfish.pfl.basic.fsm.Transition
-
- getNodeData(T) - Method in interface org.glassfish.pfl.basic.graph.Graph
-
- getNodeData(T) - Method in class org.glassfish.pfl.basic.graph.GraphImpl
-
- getObject(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getParameterAnnotations(Method) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Same as cons.getParameterAnnotations, with the result converted to a
list of maps.
- getParameterAnnotations(Constructor<?>) - Method in class org.glassfish.pfl.basic.algorithm.AnnotationAnalyzer
-
Same as cons.getParameterAnnotations, with the result converted to a
list of maps.
- getParent() - Method in interface org.glassfish.pfl.basic.fsm.FSM
-
Get the parent state machine.
- getParent() - Method in class org.glassfish.pfl.basic.fsm.FSMImpl
-
- getPostorderList() - Method in class org.glassfish.pfl.basic.algorithm.Graph
-
- getPreorderList() - Method in class org.glassfish.pfl.basic.algorithm.Graph
-
- getProxy() - Method in interface org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
- getProxyInterfaces() - Method in interface org.glassfish.pfl.basic.proxy.InvocationHandlerFactory
-
Get the interfaces that InvocationHandler instances
produced by this InvocationHandlerFactory support.
- getRoots() - Method in class org.glassfish.pfl.basic.algorithm.Graph
-
- getRoots() - Method in interface org.glassfish.pfl.basic.graph.Graph
-
- getRoots() - Method in class org.glassfish.pfl.basic.graph.GraphImpl
-
- getShort(Object, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- getStandardLogId(Method) - Static method in class org.glassfish.pfl.basic.logex.WrapperGenerator
-
Expose the standard log ID for the method.
- getState() - Method in interface org.glassfish.pfl.basic.fsm.FSM
-
Get the current state of this FSM.
- getState() - Method in class org.glassfish.pfl.basic.fsm.FSMImpl
-
Return the current state.
- getStateEngine() - Method in interface org.glassfish.pfl.basic.fsm.FSM
-
Return the state engine used to create this FSM.
- getStateEngine() - Method in class org.glassfish.pfl.basic.fsm.FSMImpl
-
- getStates(State.Kind) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Return the set of final states for this state engine.
- Graph<E> - Class in org.glassfish.pfl.basic.algorithm
-
- Graph(Collection<E>, Graph.Finder<E>) - Constructor for class org.glassfish.pfl.basic.algorithm.Graph
-
- Graph(E, Graph.Finder<E>) - Constructor for class org.glassfish.pfl.basic.algorithm.Graph
-
- Graph<T extends Node> - Interface in org.glassfish.pfl.basic.graph
-
- Graph.Finder<E> - Interface in org.glassfish.pfl.basic.algorithm
-
A Finder finds the immediate successors of an element of the graph.
- GraphImpl<T extends Node<T>> - Class in org.glassfish.pfl.basic.graph
-
Implementation of a simple graph.
- GraphImpl() - Constructor for class org.glassfish.pfl.basic.graph.GraphImpl
-
- GraphImpl(Collection<T>) - Constructor for class org.glassfish.pfl.basic.graph.GraphImpl
-
- gt(Guard.Base.IntFunc, Guard.Base.IntFunc) - Static method in class org.glassfish.pfl.basic.fsm.Guard.Base
-
- Guard - Interface in org.glassfish.pfl.basic.fsm
-
- Guard.Base - Class in org.glassfish.pfl.basic.fsm
-
- Guard.Base(String) - Constructor for class org.glassfish.pfl.basic.fsm.Guard.Base
-
- Guard.Base.IntFunc - Class in org.glassfish.pfl.basic.fsm
-
- Guard.Base.IntFunc(String) - Constructor for class org.glassfish.pfl.basic.fsm.Guard.Base.IntFunc
-
- Guard.Base.Predicate - Class in org.glassfish.pfl.basic.fsm
-
- Guard.Base.Predicate(String) - Constructor for class org.glassfish.pfl.basic.fsm.Guard.Base.Predicate
-
- Guard.Base.SimpleName - Class in org.glassfish.pfl.basic.fsm
-
- Guard.Base.SimpleName(String) - Constructor for class org.glassfish.pfl.basic.fsm.Guard.Base.SimpleName
-
- Guard.Result - Enum in org.glassfish.pfl.basic.fsm
-
- p(String) - Method in class org.glassfish.pfl.basic.algorithm.Printer
-
- p(Object...) - Method in class org.glassfish.pfl.basic.algorithm.Printer
-
- p(Object) - Method in class org.glassfish.pfl.basic.algorithm.Printer
-
- pair(S, T) - Static method in class org.glassfish.pfl.basic.algorithm.Algorithms
-
- Pair<S,T> - Class in org.glassfish.pfl.basic.contain
-
A utilitiy class representing a generic types Pair of elements.
- Pair(S, T) - Constructor for class org.glassfish.pfl.basic.contain.Pair
-
- Pair(S) - Constructor for class org.glassfish.pfl.basic.contain.Pair
-
- Pair() - Constructor for class org.glassfish.pfl.basic.contain.Pair
-
- PairComparator<S,T> - Class in org.glassfish.pfl.basic.contain
-
- PairComparator(Comparator<? super S>, Comparator<? super T>) - Constructor for class org.glassfish.pfl.basic.contain.PairComparator
-
- peek() - Method in class org.glassfish.pfl.basic.contain.MarkStack
-
Return the top element of the stack.
- peek() - Method in class org.glassfish.pfl.basic.contain.StackImpl
-
- peek() - Method in class org.glassfish.pfl.basic.fsm.Runner
-
Return the top fsm on the stack.
- pop() - Method in class org.glassfish.pfl.basic.contain.MarkStack
-
Return the top element of the stack and remove it from the stack.
- pop() - Method in class org.glassfish.pfl.basic.contain.StackImpl
-
- pop() - Method in class org.glassfish.pfl.basic.fsm.Runner
-
- popMark() - Method in class org.glassfish.pfl.basic.contain.MarkStack
-
Return an ordered list of stack elements starting with
the element that was on top of the stack when mark was
called.
- postAction(FSM) - Method in class org.glassfish.pfl.basic.fsm.State
-
Method that defines action that occurs whenever this state is exited,
that is, when the state is changed from this state to a new state.
- preAction(FSM) - Method in class org.glassfish.pfl.basic.fsm.State
-
Method that defines action that occurs whenever this state is entered
from a different state.
- printBuffer(byte[]) - Method in class org.glassfish.pfl.basic.algorithm.Printer
-
- Printer - Class in org.glassfish.pfl.basic.algorithm
-
Manages printing of indented source code.
- Printer(PrintStream) - Constructor for class org.glassfish.pfl.basic.algorithm.Printer
-
- Printer(PrintStream, int, char) - Constructor for class org.glassfish.pfl.basic.algorithm.Printer
-
- push(E) - Method in class org.glassfish.pfl.basic.contain.MarkStack
-
- push(E) - Method in class org.glassfish.pfl.basic.contain.StackImpl
-
- push(FSM) - Method in class org.glassfish.pfl.basic.fsm.Runner
-
Push a new fsm onto the stack.
- put(K, V) - Method in class org.glassfish.pfl.basic.concurrent.SoftCache
-
Update this cache so that the given key
maps to the given
value
.
- put(K, V) - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Associates the specified value with the specified key in this map.
- putAll(Map<? extends K, ? extends V>) - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Copies all of the mappings from the specified map to this map.
- putBoolean(Object, long, boolean) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putByte(Object, long, byte) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putChar(Object, long, char) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putDouble(Object, long, double) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putFloat(Object, long, float) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putInt(Object, long, int) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Stores a value into a given Java field.
- putLong(Object, long, long) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putObject(Object, long, Object) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- putShort(Object, long, short) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- readingField(String) - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
Update the current Value record to indicate the field currently being
read.
- readingIndex(int) - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
- readObjectForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.Bridge
-
- readObjectForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Returns a method handle to allow invocation of the specified class's readObject method.
- readResolveForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.Bridge
-
- readResolveForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Returns a method handle to allow invocation of the specified class's readResolve method.
- remove(Object) - Method in class org.glassfish.pfl.basic.concurrent.SoftCache
-
Remove the mapping for the given key
from this cache, if
present.
- remove(K) - Method in class org.glassfish.pfl.basic.concurrent.WeakCache
-
Remove any value associated with the key.
- remove(Object) - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Removes the mapping for a key from this weak hash map if it is present.
- remove(E) - Method in class org.glassfish.pfl.basic.contain.MultiSet
-
- remove(Object) - Method in class org.glassfish.pfl.basic.contain.ObjectSet
-
- removeFacet(Class<?>) - Method in interface org.glassfish.pfl.basic.facet.FacetAccessor
-
Remove the facet (if any) of the given type.
- removeFacet(Class<?>) - Method in class org.glassfish.pfl.basic.facet.FacetAccessorImpl
-
- ResourceFactory<T> - Class in org.glassfish.pfl.basic.contain
-
A thread-safe, contention-free lazy resource factory.
- ResourceFactory(NullaryFunction<T>) - Constructor for class org.glassfish.pfl.basic.contain.ResourceFactory
-
- result - Variable in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- returnAction(FSM, FSM) - Method in class org.glassfish.pfl.basic.fsm.State
-
If this state has Kind REFERENCE, and its preAction pushes a
nested FSM onto the stack, the returnAction method is called after the
nested FSM reaches a final state.
- rj(int) - Method in class org.glassfish.pfl.basic.algorithm.Printer
-
Right-Justify the next call to p so that the total number of characters
is at least size.
- run() - Method in interface org.glassfish.pfl.basic.algorithm.Algorithms.Action
-
- Runner - Class in org.glassfish.pfl.basic.fsm
-
This is the main class that represents an instance of a state machine
using a state engine.
- Runner(FSM) - Constructor for class org.glassfish.pfl.basic.fsm.Runner
-
Create a new Runner with fsm on top of the stack.
- Runner(FSM, boolean) - Constructor for class org.glassfish.pfl.basic.fsm.Runner
-
- second() - Method in class org.glassfish.pfl.basic.contain.Pair
-
- second() - Method in class org.glassfish.pfl.basic.contain.Triple
-
- set(int, E) - Method in class org.glassfish.pfl.basic.contain.DenseIntMapImpl
-
If key >= 0, bind value to the key.
- set(int, E) - Method in interface org.glassfish.pfl.basic.contain.IntMap
-
If key >= 0, bind value to the key.
- set(Field, Object) - Method in interface org.glassfish.pfl.basic.facet.FacetAccessor
-
- set(Field, Object) - Method in class org.glassfish.pfl.basic.facet.FacetAccessorImpl
-
- setDefault(State, Action, State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Set the default transition and action for a state.
- setDefault(State, State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Equivalent to setDefault( oldState, act, newState ) where act is an
action that does nothing.
- setDefault(State) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Euaivalent to setDefault( oldState, oldState )
- setDefaultAction(Action) - Method in class org.glassfish.pfl.basic.fsm.StateEngine
-
Set the default action used in this state engine.
- setDefaultHandler(InvocationHandler) - Method in interface org.glassfish.pfl.basic.proxy.CompositeInvocationHandler
-
Set the default invocation handler to use if none of the
invocation handlers added by calls to addInvocationHandler apply.
- setDefaultHandler(InvocationHandler) - Method in class org.glassfish.pfl.basic.proxy.CompositeInvocationHandlerImpl
-
- setParent(FSM) - Method in interface org.glassfish.pfl.basic.fsm.FSM
-
Set the parent state machine.
- setParent(FSM) - Method in class org.glassfish.pfl.basic.fsm.FSMImpl
-
- setProxy(Proxy) - Method in interface org.glassfish.pfl.basic.proxy.LinkedInvocationHandler
-
- setState(State) - Method in interface org.glassfish.pfl.basic.fsm.FSM
-
Set the current state of this FSM.
- setState(State) - Method in class org.glassfish.pfl.basic.fsm.FSMImpl
-
- size() - Method in class org.glassfish.pfl.basic.concurrent.SoftCache
-
Return the number of key-value mappings in this cache.
- size() - Method in class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Returns the number of key-value mappings in this map.
- size() - Method in class org.glassfish.pfl.basic.contain.MultiSet
-
Return the number of unique elements in this MultiSet.
- size() - Method in class org.glassfish.pfl.basic.graph.GraphImpl
-
- SoftCache<K,V> - Class in org.glassfish.pfl.basic.concurrent
-
A memory-sensitive implementation of the Map
interface.
- SoftCache(int, float) - Constructor for class org.glassfish.pfl.basic.concurrent.SoftCache
-
Construct a new, empty SoftCache
with the given
initial capacity and the given load factor.
- SoftCache(int) - Constructor for class org.glassfish.pfl.basic.concurrent.SoftCache
-
Construct a new, empty SoftCache
with the given
initial capacity and the default load factor.
- SoftCache() - Constructor for class org.glassfish.pfl.basic.concurrent.SoftCache
-
Construct a new, empty SoftCache
with the default
capacity and the default load factor.
- SPair<S extends Serializable,T extends Serializable> - Class in org.glassfish.pfl.basic.contain
-
Serializable version of Pair.
- SPair(S, T) - Constructor for class org.glassfish.pfl.basic.contain.SPair
-
- StackImpl<E> - Class in org.glassfish.pfl.basic.contain
-
- StackImpl() - Constructor for class org.glassfish.pfl.basic.contain.StackImpl
-
- StackTrace - Annotation Type in org.glassfish.pfl.basic.logex
-
Indicates that stack traces should be added to log records for logging
methods in the interface (if on an interface), or for a particular method.
- startElement() - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- startObject(String) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- startObject(Object) - Method in class org.glassfish.pfl.basic.algorithm.ObjectWriter
-
- startReadArray(String, int) - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
- startReadValue(String) - Static method in class org.glassfish.pfl.basic.logex.OperationTracer
-
Push a record into the trace of the start of reading a value of the
given type name.
- State - Class in org.glassfish.pfl.basic.fsm
-
Base class for all states in a StateEngine.
- State(String) - Constructor for class org.glassfish.pfl.basic.fsm.State
-
- State(String, State.Kind) - Constructor for class org.glassfish.pfl.basic.fsm.State
-
- State(Set<State>, String) - Constructor for class org.glassfish.pfl.basic.fsm.State
-
- State(Set<State>, String, State.Kind) - Constructor for class org.glassfish.pfl.basic.fsm.State
-
- State.Kind - Enum in org.glassfish.pfl.basic.fsm
-
Kind of state.
- StateEngine - Class in org.glassfish.pfl.basic.fsm
-
Encodes the state transition function for a finite state machine.
- staticFieldOffset(Field) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
- SynchronizedHolder<T> - Class in org.glassfish.pfl.basic.contain
-
Type safe holder that can hold any non-primitive type.
- SynchronizedHolder(T) - Constructor for class org.glassfish.pfl.basic.contain.SynchronizedHolder
-
- SynchronizedHolder() - Constructor for class org.glassfish.pfl.basic.contain.SynchronizedHolder
-
- WeakCache<K,V> - Class in org.glassfish.pfl.basic.concurrent
-
A simple cache with weak keys.
- WeakCache() - Constructor for class org.glassfish.pfl.basic.concurrent.WeakCache
-
- WeakHashMapSafeReadLock<K,V> - Class in org.glassfish.pfl.basic.concurrent
-
A hashtable-based Map implementation with weak keys.
- WeakHashMapSafeReadLock(int, float) - Constructor for class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Constructs a new, empty WeakHashMap with the given initial
capacity and the given load factor.
- WeakHashMapSafeReadLock(int) - Constructor for class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Constructs a new, empty WeakHashMap with the given initial
capacity and the default load factor (0.75).
- WeakHashMapSafeReadLock() - Constructor for class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Constructs a new, empty WeakHashMap with the default initial
capacity (16) and load factor (0.75).
- WeakHashMapSafeReadLock(Map<? extends K, ? extends V>) - Constructor for class org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock
-
Constructs a new WeakHashMap with the same mappings as the
specified map.
- WrapperGenerator - Class in org.glassfish.pfl.basic.logex
-
Given an annotated interface, return a Proxy that implements that interface.
- WrapperGenerator.Extension - Interface in org.glassfish.pfl.basic.logex
-
Extension API available to override the default behavior of the
WrapperGenerator.
- WrapperGenerator.ExtensionBase - Class in org.glassfish.pfl.basic.logex
-
Convenience base class for implementations of Extension that don't
need to override every method.
- WrapperGenerator.ExtensionBase() - Constructor for class org.glassfish.pfl.basic.logex.WrapperGenerator.ExtensionBase
-
- WrapperGenerator.MessageInfo - Interface in org.glassfish.pfl.basic.logex
-
Hidden interface implemented by the result of the makeWrapper call.
- writeObjectForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.Bridge
-
- writeObjectForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Returns a method handle to allow invocation of the specified class's writeObject method.
- writeReplaceForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.Bridge
-
- writeReplaceForSerialization(Class<?>) - Method in class org.glassfish.pfl.basic.reflection.BridgeBase
-
Returns a method handle to allow invocation of the specified class's writeReplace method.