Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activeSet() - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- activeSet() - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Returns a read-only view of the set of Controllables that are currently active.
- add(E) - Method in class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
- add(Controllable) - Method in class org.glassfish.pfl.tf.timer.impl.TimerGroupImpl
- add(Controllable) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerGroup
- addPrefix(String, String) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
-
Add a new Package prefix symbol to the table.
- addTimer(String, String) - Method in class org.glassfish.pfl.tf.timer.spi.TimingInfoProcessor
- addTimerGroup(String, String) - Method in class org.glassfish.pfl.tf.timer.spi.TimingInfoProcessor
- annoNamesForClass - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- annotationNames - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- annoToHolderName - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- augment(StatisticsAccumulator) - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- augmentInfoMethodDescriptor(String) - Method in class org.glassfish.pfl.tf.spi.Util
- average() - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
-
Return the current average of the data, or -1 if there is no data.
- average() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
B
- BOTH - Enum constant in enum org.glassfish.pfl.tf.spi.TimingPointType
C
- classifyMethod(String) - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Classify the method.
- classifyMethod(String) - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- className - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- clear() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
Provided for MethodMonitor instances that maintain state.
- clear() - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerImpl
- clear() - Method in class org.glassfish.pfl.tf.timer.impl.MultiThreadedStatsEventHandlerImpl
- clear() - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- clear() - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerImpl
- clear() - Method in interface org.glassfish.pfl.tf.timer.spi.LogEventHandler
-
Discard the contents of the log.
- clear() - Method in interface org.glassfish.pfl.tf.timer.spi.StatsEventHandler
-
Discard all accumulated statistics.
- clear(Class<? extends Annotation>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Remove the MethodMonitorFactory (if any) that is associated with annot.
- clearState() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
-
Clears the samples and starts fresh on new samples.
- compose(Collection<MethodMonitorFactory>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
- containedIn(String, String) - Method in class org.glassfish.pfl.tf.timer.spi.TimingInfoProcessor
- contains(String) - Method in class org.glassfish.pfl.tf.timer.spi.TimingInfoProcessor
- contents() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
Returns the contents of this method monitor.
- contents() - Method in class org.glassfish.pfl.tf.spi.MethodMonitorBase
- contents() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitorFactory
-
Returns the contents of this method monitor factory.
- contents() - Method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryBase
- contents() - Method in class org.glassfish.pfl.tf.timer.impl.ControllableBase
- contents() - Method in class org.glassfish.pfl.tf.timer.impl.TimerGroupImpl
- contents() - Method in interface org.glassfish.pfl.tf.timer.spi.Controllable
-
Return an unmodifiable set of the contents of this Controllable.
- contents() - Static method in class org.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
-
Return a list of the TimerFactory instances in this TimerFactoryBuilder.
- Controllable - Interface in org.glassfish.pfl.tf.timer.spi
-
Represents a named object that can be enabled or disabled.
- ControllableBase - Class in org.glassfish.pfl.tf.timer.impl
- ControllableBase(int, String, String, TimerFactoryImpl) - Constructor for class org.glassfish.pfl.tf.timer.impl.ControllableBase
- controller() - Method in class org.glassfish.pfl.tf.timer.spi.TimerManager
-
Return a TimerController.
- count() - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
-
Return the number of data points recorded.
- count() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- create(Class<?>) - Method in class org.glassfish.pfl.tf.spi.MethodMonitorBase.MethodMonitorFactorySelfImpl
- create(Class<?>) - Method in interface org.glassfish.pfl.tf.spi.MethodMonitorFactory
-
Return an instance of a MethodMonitor suitable for use in the given class cls, according to the currently registered MethodMonitorFactory instances in the MethodMonitorRegistry.
D
- deregister(TimerEventHandler) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEventControllerBase
-
Deregister the handler to stop receiving events from this controller.
- description() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.MethodMonitorGroup
- description() - Method in class org.glassfish.pfl.tf.timer.impl.ControllableBase
- description() - Method in interface org.glassfish.pfl.tf.timer.spi.Controllable
-
A longer description giving some details of the meaning of this Controllable.
- Description - Annotation Type in org.glassfish.pfl.tf.spi.annotation
-
Used to associate a description with part of a class.
- DESCRIPTION_NAME - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- destroy() - Method in class org.glassfish.pfl.tf.timer.spi.TimerManager
-
Destroy this TimerManager by removing its TimerFactory from the TimerFactoryBuilder.
- destroy(TimerFactory) - Static method in class org.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
-
Remove a TimerFactory so that it may be collected.
- disable() - Method in class org.glassfish.pfl.tf.timer.impl.ControllableBase
- disable() - Method in interface org.glassfish.pfl.tf.timer.spi.Controllable
-
Disable this controllable.
- display(PrintStream, String) - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerImpl
- display(PrintStream, String) - Method in interface org.glassfish.pfl.tf.timer.spi.LogEventHandler
-
Display the contents of this log in formatted form to the PrintStream.
- dprint() - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
E
- emitIntConstant(MethodVisitor, int) - Method in class org.glassfish.pfl.tf.spi.Util
- enable() - Method in class org.glassfish.pfl.tf.timer.impl.ControllableBase
- enable() - Method in interface org.glassfish.pfl.tf.timer.spi.Controllable
-
Enable this controllable.
- enabledSet() - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- enabledSet() - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Returns a read-only view of the set of enabled Controllables.
- EnhancedClassData - Interface in org.glassfish.pfl.tf.spi
- EnhancedClassData.MethodType - Enum in org.glassfish.pfl.tf.spi
- EnhancedClassDataASMImpl - Class in org.glassfish.pfl.tf.spi
- EnhancedClassDataASMImpl(Util, Set<String>, ClassNode) - Constructor for class org.glassfish.pfl.tf.spi.EnhancedClassDataASMImpl
- EnhancedClassDataBase - Class in org.glassfish.pfl.tf.spi
- EnhancedClassDataBase(Util, Set<String>) - Constructor for class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- EnhancedClassDataReflectiveImpl - Class in org.glassfish.pfl.tf.spi
- EnhancedClassDataReflectiveImpl(Util, Class<?>) - Constructor for class org.glassfish.pfl.tf.spi.EnhancedClassDataReflectiveImpl
- enter(int, Object...) - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
Invoked at the start of a method, before any actions in the method take place.
- enter(Timer) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEventController
-
Generate a TimerEvent representing the entry to a particular timer.
- ENTER - Enum constant in enum org.glassfish.pfl.tf.spi.TimingPointType
- ENTER - Enum constant in enum org.glassfish.pfl.tf.timer.spi.TimerEvent.TimerEventType
- equals(Object) - Method in class org.glassfish.pfl.tf.spi.Named
- equals(Object) - Method in class org.glassfish.pfl.tf.timer.spi.NamedBase
- equals(Object) - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
- error(String) - Method in class org.glassfish.pfl.tf.spi.Util
- exception(int, Throwable) - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
Called to report an exception that is thrown in the method.
- exit(int) - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
An exit from a method that has a void return type.
- exit(int, Object) - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
An exit from a method that has a non-void return type.
- exit(Timer) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEventController
-
Generate a TimerEvent representing the exit from a particular timer.
- EXIT - Enum constant in enum org.glassfish.pfl.tf.spi.TimingPointType
- EXIT - Enum constant in enum org.glassfish.pfl.tf.timer.spi.TimerEvent.TimerEventType
F
- factory() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
Factory used to create this MethodMonitor Note: is is required that this.factory().create(myClass()).equals( this ) for any MethodMonitor.
- factory() - Method in class org.glassfish.pfl.tf.spi.MethodMonitorBase
- factory() - Method in class org.glassfish.pfl.tf.timer.impl.NamedBaseImpl
- factory() - Method in interface org.glassfish.pfl.tf.timer.spi.Named
-
Return the TimerFactory that created this Named.
- factory() - Method in class org.glassfish.pfl.tf.timer.spi.NamedBase
- factory() - Method in class org.glassfish.pfl.tf.timer.spi.TimerManager
-
Get the TimerFactory.
G
- generateFile(String, Pair<String, TimerFactory>) - Static method in class org.glassfish.pfl.tf.timer.spi.TimerPointSourceGenerator
-
Generate a single class which contains: private fields for Timers and TimerGroups public accessor methods for Timers and TimerGroups A public constructor
<init>(TimerFactory)that initializes the Timer and TimerGroup fields, and the TimerGroup containment. - getAnnotationToHolderName() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Map from MM annotation name to the name of the holder field that contains the SynchronizedHolder for the corresponding MethodMonitor.
- getAnnotationToHolderName() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getClassName() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Return the internal name of the class.
- getClassName() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getControllable(int) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- getControllable(int) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Returns the Controllable corresponding to id, for id in the range 0 (inclusive) to numberOfIds() (exclusive).
- getDebug() - Method in class org.glassfish.pfl.tf.spi.Util
- getDescriptions() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
List of descriptions of monitored methods and info methods.
- getDescriptions() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
-
List of descriptions of monitored methods and info methods.
- getFullMethodDescriptor(Method) - Method in class org.glassfish.pfl.tf.spi.Util
- getFullMethodDescriptor(String, String) - Method in class org.glassfish.pfl.tf.spi.Util
- getFullMethodDescriptor(MethodInsnNode) - Method in class org.glassfish.pfl.tf.spi.Util
- getFullMethodDescriptor(MethodNode) - Method in class org.glassfish.pfl.tf.spi.Util
- getHolderName(String) - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Name of the holder fields corresponding to a particular method.
- getHolderName(String) - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getMethodIdentifier(Class<?>, String) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
- getMethodIndex(String) - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Index of method name in the list of method names.
- getMethodIndex(String) - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getMethodMMAnnotationName() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
List of annotation names for each info method and monitored method.
- getMethodMMAnnotationName() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getMethodMonitorForClass(Class<?>, Class<? extends Annotation>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Return the current MethodMonitor in use for the given cls and annot.
- getMethodName(Class<?>, int) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Provided so that implementation of the MethodMonitor interface can obtain the method name for use in log reports or for other purposes.
- getMethodNames() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
List of method names for all MM methods and info methods in the class.
- getMethodNames() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getMethodNames(Class<?>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
- getMMAnnotations() - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
- getResult() - Method in class org.glassfish.pfl.tf.timer.spi.TimingInfoProcessor
- getStats() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- getTimerName(String, String) - Static method in class org.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
-
Construct the standard name for a Timer derived from a method in the tracing facility.
- getTimerNames(Class<?>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
- getTimers(Class<?>) - Method in class org.glassfish.pfl.tf.timer.spi.TimerManager
- getTimerTypes(Class<?>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Return a list of all timer types defined for cls.
- getTimingPointNames() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
List of timing point names corresponding to method names.
- getTimingPointNames() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- getTimingPointTypes() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
List of timing point types of monitored methods and info methods.
- getTimingPointTypes() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
-
List of timing point types of monitored methods and info methods.
- getValue() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
-
Computes the Standard Statistic Results based on the samples collected so far and provides the complete value as a formatted String
H
- handlers() - Method in class org.glassfish.pfl.tf.timer.spi.TimerEventControllerBase
-
Read-only image of the set of Handlers.
- hasAccess(int, int) - Method in class org.glassfish.pfl.tf.spi.Util
- hashCode() - Method in class org.glassfish.pfl.tf.spi.Named
- hashCode() - Method in class org.glassfish.pfl.tf.timer.spi.NamedBase
- hashCode() - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
- hasNext() - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerIterator
I
- id() - Method in class org.glassfish.pfl.tf.timer.impl.ControllableBase
- id() - Method in interface org.glassfish.pfl.tf.timer.spi.Controllable
-
A small id for this controllable.
- incrementTime(long) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
- info(int, String) - Method in class org.glassfish.pfl.tf.spi.Util
- info(Object[], int, int) - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
Invoked anywhere in the method after enter and before exit, to indicate some useful tracing information in the method.
- INFO_METHOD - Enum constant in enum org.glassfish.pfl.tf.spi.EnhancedClassData.MethodType
- INFO_METHOD_NAME - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- InfoMethod - Annotation Type in org.glassfish.pfl.tf.spi.annotation
-
Used to indicate that a method is used for invoking MethodMonitor.info.
- infoMethodDescs - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- init(MethodMonitor) - Method in class org.glassfish.pfl.tf.spi.MethodMonitorBase.MethodMonitorFactorySelfImpl
- initialize(T) - Method in class org.glassfish.pfl.tf.timer.spi.TimerManager
- initLocal(MethodVisitor, LocalVariableNode) - Method in class org.glassfish.pfl.tf.spi.Util
- isActivated() - Method in class org.glassfish.pfl.tf.timer.impl.TimerImpl
- isActivated() - Method in interface org.glassfish.pfl.tf.timer.spi.Timer
-
Return true if this Timer is ready to create TimerEvents.
- isEnabled() - Method in class org.glassfish.pfl.tf.timer.impl.ControllableBase
- isEnabled() - Method in interface org.glassfish.pfl.tf.timer.spi.Controllable
-
Return true if enable() was called, otherwise false if enable() was never called, or disable() was last called.
- isTracedClass() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Returns true iff this class is monitored.
- isTracedClass() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- iterator() - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerImpl
- iterator() - Method in class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
K
- key() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.Description
-
Optional key to use in a resource bundle for this description.
L
- loadFromXReturn(MethodVisitor, int, LocalVariableNode) - Method in class org.glassfish.pfl.tf.spi.Util
- LogEventHandler - Interface in org.glassfish.pfl.tf.timer.spi
-
A TimerEventHandler that stores all events that is receives.
- LogEventHandlerImpl - Class in org.glassfish.pfl.tf.timer.impl
- LogEventHandlerIterator - Class in org.glassfish.pfl.tf.timer.impl
- LogEventHandlerIterator(TimerFactory, long[], int) - Constructor for class org.glassfish.pfl.tf.timer.impl.LogEventHandlerIterator
M
- make(String, String) - Static method in class org.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
- make(ObjectRegistrationManager, String, String) - Static method in class org.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
-
Create a new TimerFactory.
- makeController(String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeController(String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Create a TimerController, which can create TimerEvents and send them to registered TimerEventHandlers.
- makeLogEventHandler(String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeLogEventHandler(String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Create a new LogEventHandler.
- makeMultiThreadedStatsEventHandler(String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeMultiThreadedStatsEventHandler(String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Create a new StatsEventHandler.
- makeStatsEventHandler(String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeStatsEventHandler(String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Create a new StatsEventHandler.
- makeTimer(String, String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeTimer(String, String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Create a new Timer.
- makeTimerGroup(String, String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeTimerGroup(String, String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Create a new TimerGroup.
- makeTimingImpl(TimerManager<T>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
- makeTracingEventHandler(String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- makeTracingEventHandler(String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
- manage(Named) - Method in interface org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManager
-
Register obj at the root of the management tree.
- manage(Named) - Method in class org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManagerNOPImpl
- manage(Named, Named) - Method in interface org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManager
-
Register obj as an immediate child of parent in the management tree.
- manage(Named, Named) - Method in class org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManagerNOPImpl
- max() - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
-
Return the maximum value of call data points records.
- max() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- merge(MethodMonitor[]) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Merges the behaviors of the method monitors together.
- methodAnnoList - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- methodDescriptions - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- MethodMonitor - Interface in org.glassfish.pfl.tf.spi
-
Interface representing some action that takes place on entry and exit to a method that is being traced.
- MethodMonitorBase - Class in org.glassfish.pfl.tf.spi
- MethodMonitorBase(String, Class<?>) - Constructor for class org.glassfish.pfl.tf.spi.MethodMonitorBase
- MethodMonitorBase(String, Class<?>, MethodMonitorFactory) - Constructor for class org.glassfish.pfl.tf.spi.MethodMonitorBase
- MethodMonitorBase(String, Class<?>, MethodMonitorFactory, Set<MethodMonitor>) - Constructor for class org.glassfish.pfl.tf.spi.MethodMonitorBase
- MethodMonitorBase.MethodMonitorFactorySelfImpl - Class in org.glassfish.pfl.tf.spi
- MethodMonitorFactory - Interface in org.glassfish.pfl.tf.spi
-
Since each MethodMonitor generally needs a reference to the class it is monitoring, we actually work with MethodMonitorFactory instances instead of simply using MethodMonitor.
- MethodMonitorFactoryBase - Class in org.glassfish.pfl.tf.spi
- MethodMonitorFactoryBase(String) - Constructor for class org.glassfish.pfl.tf.spi.MethodMonitorFactoryBase
- MethodMonitorFactoryDefaults - Class in org.glassfish.pfl.tf.spi
- MethodMonitorFactorySelfImpl(String) - Constructor for class org.glassfish.pfl.tf.spi.MethodMonitorBase.MethodMonitorFactorySelfImpl
- MethodMonitorGroup - Annotation Type in org.glassfish.pfl.tf.spi.annotation
-
Meta-annotation used to define annotations that define groups of related classes whose methods should be traced.
- MethodMonitorRegistry - Class in org.glassfish.pfl.tf.spi
-
Main class for registering MethodMonitorFactories against particular annotation classes that represent method monitor groups.
- MethodMonitorRegistry() - Constructor for class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
- methodNames - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- methodToAnno - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- methodTPNames - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- methodTPTs - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- min() - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
-
Return the minimum value of call data points records.
- min() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- MM_NAME - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- MM_TYPE - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- mmMethodDescs - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- MONITORED_METHOD - Enum constant in enum org.glassfish.pfl.tf.spi.EnhancedClassData.MethodType
- msg(String) - Method in class org.glassfish.pfl.tf.spi.Util
- MultiThreadedStatsEventHandlerImpl - Class in org.glassfish.pfl.tf.timer.impl
- myClass() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
-
The class for which this MethodMonitor is defined.
- myClass() - Method in class org.glassfish.pfl.tf.spi.MethodMonitorBase
N
- name() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitor
- name() - Method in interface org.glassfish.pfl.tf.spi.MethodMonitorFactory
-
The name of this mmf.
- name() - Method in class org.glassfish.pfl.tf.spi.Named
- name() - Method in interface org.glassfish.pfl.tf.timer.spi.Named
-
A short name for this Controllable.
- name() - Method in class org.glassfish.pfl.tf.timer.spi.NamedBase
- Named - Class in org.glassfish.pfl.tf.spi
- Named - Interface in org.glassfish.pfl.tf.timer.spi
-
A simple interface used to provide access to the name and the factory that created this instance.
- Named(String, String) - Constructor for class org.glassfish.pfl.tf.spi.Named
- NamedBase - Class in org.glassfish.pfl.tf.timer.spi
- NamedBase(TimerFactory, String) - Constructor for class org.glassfish.pfl.tf.timer.spi.NamedBase
- NamedBaseImpl - Class in org.glassfish.pfl.tf.timer.impl
- NamedBaseImpl(TimerFactoryImpl, String) - Constructor for class org.glassfish.pfl.tf.timer.impl.NamedBaseImpl
- newWithSimpleConstructor(MethodVisitor, Class<?>) - Method in class org.glassfish.pfl.tf.spi.Util
- next() - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerIterator
- NONE - Enum constant in enum org.glassfish.pfl.tf.spi.annotation.TraceEnhanceLevel
- NONE - Enum constant in enum org.glassfish.pfl.tf.spi.TimingPointType
- noOp() - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
- NORMAL_METHOD - Enum constant in enum org.glassfish.pfl.tf.spi.EnhancedClassData.MethodType
- notify(Stack<TimerEvent>, TimerEvent) - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- notify(TimerEvent) - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerImpl
- notify(TimerEvent) - Method in class org.glassfish.pfl.tf.timer.impl.MultiThreadedStatsEventHandlerImpl
- notify(TimerEvent) - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerImpl
- notify(TimerEvent) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl.TracingEventHandler
- notify(TimerEvent) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerEventHandler
- nullImpl - Static variable in interface org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManager
- numberOfIds() - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- numberOfIds() - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Returns the maximum id used by this TimerFactory for creating Controllables.
O
- OBJECT_NAME - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- OBJECT_TYPE - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- ObjectRegistrationManager - Interface in org.glassfish.pfl.tf.timer.spi
-
Interface used to provide the capability to manage timer service objects.
- ObjectRegistrationManagerNOPImpl - Class in org.glassfish.pfl.tf.timer.spi
- ObjectRegistrationManagerNOPImpl() - Constructor for class org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManagerNOPImpl
- opcodeToString(int) - Static method in class org.glassfish.pfl.tf.spi.Util
- operationTracer() - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
- org.glassfish.pfl.tf - module org.glassfish.pfl.tf
- org.glassfish.pfl.tf.spi - package org.glassfish.pfl.tf.spi
- org.glassfish.pfl.tf.spi.annotation - package org.glassfish.pfl.tf.spi.annotation
- org.glassfish.pfl.tf.timer.impl - package org.glassfish.pfl.tf.timer.impl
- org.glassfish.pfl.tf.timer.spi - package org.glassfish.pfl.tf.timer.spi
P
- PHASE1 - Enum constant in enum org.glassfish.pfl.tf.spi.annotation.TraceEnhanceLevel
- PHASE2 - Enum constant in enum org.glassfish.pfl.tf.spi.annotation.TraceEnhanceLevel
- points() - Method in class org.glassfish.pfl.tf.timer.spi.TimerManager
-
Get the timing point utility class of type T.
- propagate(TimerEvent) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEventControllerBase
-
Send the event to all registered handlers.
R
- recordDuration(int, long) - Method in class org.glassfish.pfl.tf.timer.impl.MultiThreadedStatsEventHandlerImpl
- recordDuration(int, long) - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- recordDuration(int, long) - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerImpl
- register(Class<? extends Annotation>, MethodMonitorFactory) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Register a particular MethodMonitorFactory against an annotation.
- register(TimerEventHandler) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEventControllerBase
-
Register the handler to start receiving events from this controller.
- registerAnnotationFile(String) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
- registerClass(Class<?>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Register a class with the tracing facility.
- registerClass(Class<?>, List<String>, Map<Class<? extends Annotation>, SynchronizedHolder<MethodMonitor>>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Register a class with the tracing facility.
- registeredFactory(Class<? extends Annotation>) - Static method in class org.glassfish.pfl.tf.spi.MethodMonitorRegistry
-
Return the MethodMonitorFactory registered against the annotation, or null if nothing is registered.
- remove() - Method in class org.glassfish.pfl.tf.timer.impl.LogEventHandlerIterator
- remove(Object) - Method in class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
- remove(Controllable) - Method in class org.glassfish.pfl.tf.timer.impl.TimerGroupImpl
- remove(Controllable) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerGroup
- removeController(TimerEventControllerBase) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- removeController(TimerEventControllerBase) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Remove the controller from this factory.
- removeTimerEventHandler(TimerEventHandler) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- removeTimerEventHandler(TimerEventHandler) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Remove the handler from this TimerFactory.
S
- saList - Variable in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- sample(double) - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- saveTimerEventController(TimerEventControllerBase) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- setFactory(TimerFactory) - Method in class org.glassfish.pfl.tf.timer.spi.NamedBase
- SH_NAME - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- SH_TYPE - Static variable in interface org.glassfish.pfl.tf.spi.EnhancedClassData
- stage() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.TFEnhanced
- standardDeviation() - Method in class org.glassfish.pfl.tf.timer.spi.Statistics
-
Return the standard deviation of the data, or -1 if there is no data.
- standardDeviation() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- STATIC_INITIALIZER - Enum constant in enum org.glassfish.pfl.tf.spi.EnhancedClassData.MethodType
- Statistics - Class in org.glassfish.pfl.tf.timer.spi
-
A simple read-only holder for accumulated statistics.
- Statistics(long, double, double, double, double) - Constructor for class org.glassfish.pfl.tf.timer.spi.Statistics
- StatisticsAccumulator - Class in org.glassfish.pfl.tf.timer.spi
-
StatisticsAccumulator accumulates the samples provided by the user and computes the value of minimum, maximum, sum and sample square sum.
- StatisticsAccumulator(String) - Constructor for class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
-
Construct the Statistics Accumulator by providing the unit as a String.
- stats() - Method in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- stats() - Method in interface org.glassfish.pfl.tf.timer.spi.StatsEventHandler
-
Return map that gives the accumulated statistics for each TimerEvent that has been observed by this event handler since the last call to clear (or since the creation of this handler, if clear has not been called).
- StatsEventHandler - Interface in org.glassfish.pfl.tf.timer.spi
-
Gather statistics on the times reported to this TimerEventHandler.
- StatsEventHandlerBase - Class in org.glassfish.pfl.tf.timer.impl
- StatsEventHandlerBase(TimerFactory, String) - Constructor for class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- StatsEventHandlerImpl - Class in org.glassfish.pfl.tf.timer.impl
- storeFromXReturn(MethodVisitor, int, LocalVariableNode) - Method in class org.glassfish.pfl.tf.spi.Util
T
- TFEnhanced - Annotation Type in org.glassfish.pfl.tf.spi.annotation
-
Indicates that a class has already been enhanced for tracing.
- time() - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
Time of event in nanoseconds since the TimerLog was created or cleared.
- timer() - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
The name of the Timer used to create this entry.
- Timer - Interface in org.glassfish.pfl.tf.timer.spi
-
Used to create specific TimerEvent instances through a TimerEventController.
- timerAlreadyExists(String) - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- timerAlreadyExists(String) - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Return true iff a timer with the given name already exists.
- TimerEvent - Class in org.glassfish.pfl.tf.timer.spi
-
Represents a particular observable event.
- TimerEvent(TimerEvent) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerEvent
- TimerEvent(Timer, TimerEvent.TimerEventType) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
Create a TimerEvent at the current time.
- TimerEvent(Timer, TimerEvent.TimerEventType, long) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
Create a TimerEvent at the given time.
- TimerEvent.TimerEventType - Enum in org.glassfish.pfl.tf.timer.spi
- TimerEventController - Class in org.glassfish.pfl.tf.timer.spi
-
Creates timer events and sends them to all registered event handlers.
- TimerEventController(TimerFactory, String) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerEventController
- TimerEventControllerBase - Class in org.glassfish.pfl.tf.timer.spi
-
Supports registration of TimerEventHandlers.
- TimerEventControllerBase(TimerFactory, String) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerEventControllerBase
- TimerEventHandler - Interface in org.glassfish.pfl.tf.timer.spi
-
Handles timer events, represented by timer instances.
- TimerFactory - Interface in org.glassfish.pfl.tf.timer.spi
-
Factory class for all Timer-related objects.
- TimerFactoryBuilder - Class in org.glassfish.pfl.tf.timer.spi
-
TimerFactoryBuilder creates independent instances of the TimerFactory interface.
- TimerFactoryBuilder() - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
- TimerFactoryImpl - Class in org.glassfish.pfl.tf.timer.impl
- TimerFactoryImpl(ObjectRegistrationManager, String, String) - Constructor for class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- TimerFactoryImpl.TracingEventHandler - Class in org.glassfish.pfl.tf.timer.impl
- TimerGroup - Interface in org.glassfish.pfl.tf.timer.spi
-
A TimerGroup is a collection of Controllables, which includes Timers and TimerGroups.
- TimerGroupImpl - Class in org.glassfish.pfl.tf.timer.impl
-
A TimerGroup is a collection of Controllables, which includes Timers and TimerGroups.
- timerGroups() - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- timerGroups() - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Returns a read-only map from TimerGroup names to TimerGroups.
- TimerImpl - Class in org.glassfish.pfl.tf.timer.impl
-
This interface exists because a Controllable is not loggable: only a Timer is loggable (we do not want TimerGroup to be loggable).
- TimerManager<T> - Class in org.glassfish.pfl.tf.timer.spi
-
Provides access to timer facilities.
- TimerManager(String) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerManager
- TimerManager(ObjectRegistrationManager, String) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerManager
-
Create a new TimerManager, with a TimerFactory registered under the given name in the TimerFactoryBuilder, and a TimerEventController with the same name.
- TimerPointSourceGenerator - Class in org.glassfish.pfl.tf.timer.spi
-
Used to generate a class that represents all Timers found in a TF source file.
- TimerPointSourceGenerator() - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerPointSourceGenerator
- timers() - Method in class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl
- timers() - Method in interface org.glassfish.pfl.tf.timer.spi.TimerFactory
-
Returns a read-only map from Timer names to Timers.
- TimingInfoProcessor - Class in org.glassfish.pfl.tf.timer.spi
- TimingInfoProcessor(String, String) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimingInfoProcessor
- TimingPointType - Enum in org.glassfish.pfl.tf.spi
-
Used to indicate what kind of TimingPoint a InfoMethod represents.
- toString() - Method in class org.glassfish.pfl.tf.spi.Named
- toString() - Method in class org.glassfish.pfl.tf.timer.spi.NamedBase
- toString() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
-
Users can extend StatisticsAccumulator to provide the complete Stats in the format they prefer, if the default format doesn't suffice.
- toString() - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
- tpName() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.InfoMethod
-
Gives the name of timing point to use for this info method.
- tpType() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.InfoMethod
-
Indicates whether this info method represents an ENTER, EXIT, or NONE (no timing point).
- TraceEnhanceLevel - Enum in org.glassfish.pfl.tf.spi.annotation
-
Annotation representing the level of tracing enhancement present on a class file.
- TraceEnhancementException - Exception Class in org.glassfish.pfl.tf.spi
-
Exception used when an attempt is made to enhance a class file to a level that is not appropriate for the class.
- TraceEnhancementException() - Constructor for exception class org.glassfish.pfl.tf.spi.TraceEnhancementException
-
Creates a new instance of
TraceEnhancementExceptionwithout detail message. - TraceEnhancementException(String) - Constructor for exception class org.glassfish.pfl.tf.spi.TraceEnhancementException
-
Constructs an instance of
TraceEnhancementExceptionwith the specified detail message. - TracingEventHandler(TimerFactory, String) - Constructor for class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl.TracingEventHandler
- transform(boolean, byte[], Function<ClassVisitor, ClassVisitor>) - Method in class org.glassfish.pfl.tf.spi.Util
- type() - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
Type of event: ENTER for start of interval for a Timer, EXIT for end of the interval.
U
- unit() - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
- UNITS - Static variable in class org.glassfish.pfl.tf.timer.impl.StatsEventHandlerBase
- unitTestValidate(String, double, double, long, double, double) - Method in class org.glassfish.pfl.tf.timer.spi.StatisticsAccumulator
-
This is an internal API to test StatisticsAccumulator...
- unmanage(Named) - Method in interface org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManager
-
Remove obj from the management tree.
- unmanage(Named) - Method in class org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManagerNOPImpl
- update(Timer, TimerEvent.TimerEventType, long) - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
Re-use the same TimerEvent instance with different data.
- updateInfoDesc() - Method in interface org.glassfish.pfl.tf.spi.EnhancedClassData
-
Enhance all of the descriptors for infoMethods.
- updateInfoDesc() - Method in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- util - Variable in class org.glassfish.pfl.tf.spi.EnhancedClassDataBase
- Util - Class in org.glassfish.pfl.tf.spi
-
Some useful utilities for generating code using ASM.
- Util(boolean, int) - Constructor for class org.glassfish.pfl.tf.spi.Util
V
- value() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.Description
-
The description to be applied to the annotated element.
- value() - Element in annotation type org.glassfish.pfl.tf.spi.annotation.MethodMonitorGroup
-
List of MethodMonitorGroups that are subgrops of this one.
- valueOf(String) - Static method in enum org.glassfish.pfl.tf.spi.annotation.TraceEnhanceLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.pfl.tf.spi.EnhancedClassData.MethodType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.pfl.tf.spi.TimingPointType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.pfl.tf.timer.spi.TimerEvent.TimerEventType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.glassfish.pfl.tf.spi.annotation.TraceEnhanceLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.glassfish.pfl.tf.spi.EnhancedClassData.MethodType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.glassfish.pfl.tf.spi.TimingPointType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.glassfish.pfl.tf.timer.spi.TimerEvent.TimerEventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
- VersionedHashSet<E> - Class in org.glassfish.pfl.tf.timer.impl
-
This is an implementation of the Set interface that keeps track of its version so that we can tell when it is modified.
- VersionedHashSet() - Constructor for class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
- VersionedHashSet(int) - Constructor for class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
- VersionedHashSet(int, float) - Constructor for class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
- VersionedHashSet(Collection<? extends E>) - Constructor for class org.glassfish.pfl.tf.timer.impl.VersionedHashSet
W
- wrapArg(MethodVisitor, int, Type) - Method in class org.glassfish.pfl.tf.spi.Util
- wrapArgs(MethodVisitor, int, String) - Method in class org.glassfish.pfl.tf.spi.Util
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form