Package org.glassfish.pfl.tf.spi
Class MethodMonitorFactoryDefaults
java.lang.Object
org.glassfish.pfl.tf.spi.MethodMonitorFactoryDefaults
- Author:
- ken
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Add a new Package prefix symbol to the table.static MethodMonitorFactory
compose
(Collection<MethodMonitorFactory> factories) static MethodMonitorFactory
dprint()
static <T> MethodMonitorFactory
makeTimingImpl
(TimerManager<T> tm) static MethodMonitorFactory
noOp()
static MethodMonitorFactory
-
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.
-
makeTimingImpl
-
operationTracer
-
noOp
-
dprint
-
compose
-