Package org.glassfish.pfl.tf.spi
Class MethodMonitorFactoryDefaults
java.lang.Object
org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static MethodMonitorFactory
private static MethodMonitorFactory
private static MethodMonitorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Add a new Package prefix symbol to the table.static MethodMonitorFactory
compose
(Collection<MethodMonitorFactory> factories) (package private) static MethodMonitor
composeMM
(List<MethodMonitor> mms) private static String
compressClassName
(String name) static MethodMonitorFactory
dprint()
static <T> MethodMonitorFactory
makeTimingImpl
(TimerManager<T> tm) static MethodMonitorFactory
noOp()
static MethodMonitorFactory
-
Field Details
-
prefixTable
-
operationTracerImpl
-
dprintImpl
-
noOpImpl
-
-
Constructor Details
-
MethodMonitorFactoryDefaults
private MethodMonitorFactoryDefaults()
-
-
Method Details
-
addPrefix
Add a new Package prefix symbol to the table. This reduces the size of the generated messages in the dprintImpl output.- Parameters:
pkg
- A Java package name. Should end in '.' (which will be added if not present).symbol
- The symbol to substitute for the package. Typically this is 3-8 upper case characters.
-
compressClassName
-
makeTimingImpl
-
operationTracer
-
noOp
-
dprint
-
composeMM
-
compose
-