- 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 (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(String, String) - Method in class org.glassfish.pfl.tf.spi.Util
-
- getFullMethodDescriptor(MethodNode) - Method in class org.glassfish.pfl.tf.spi.Util
-
- getFullMethodDescriptor(MethodInsnNode) - Method in class org.glassfish.pfl.tf.spi.Util
-
- getFullMethodDescriptor(Method) - 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
- 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, 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) - Method in class org.glassfish.pfl.tf.timer.spi.ObjectRegistrationManagerNOPImpl
-
- 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
-
- 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
-
- 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 - Interface in org.glassfish.pfl.tf.timer.spi
-
Used to create specific TimerEvent instances through a TimerEventController.
- timer() - Method in class org.glassfish.pfl.tf.timer.spi.TimerEvent
-
The name of the Timer used to create this entry.
- 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(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.
- TimerManager(String) - Constructor for class org.glassfish.pfl.tf.timer.spi.TimerManager
-
- 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
-
- TraceEnhanceLevel - Enum in org.glassfish.pfl.tf.spi.annotation
-
Annotation representing the level of tracing enhancement present
on a class file.
- TraceEnhancementException - Exception 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 org.glassfish.pfl.tf.spi.TraceEnhancementException
-
Creates a new instance of TraceEnhancementException without detail message.
- TraceEnhancementException(String) - Constructor for exception org.glassfish.pfl.tf.spi.TraceEnhancementException
-
Constructs an instance of TraceEnhancementException with the specified detail message.
- TracingEventHandler(TimerFactory, String) - Constructor for class org.glassfish.pfl.tf.timer.impl.TimerFactoryImpl.TracingEventHandler
-
- transform(boolean, byte[], UnaryFunction<ClassVisitor, ClassAdapter>) - 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.