|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.tf.timer.spi.TimerFactoryBuilder
public class TimerFactoryBuilder
TimerFactoryBuilder creates independent instances of the TimerFactory interface. Guarantees that all TimerFactory instances have unique names.
| Constructor Summary | |
|---|---|
TimerFactoryBuilder()
|
|
| Method Summary | |
|---|---|
static List<TimerFactory> |
contents()
Return a list of the TimerFactory instances in this TimerFactoryBuilder. |
static void |
destroy(TimerFactory factory)
Remove a TimerFactory so that it may be collected. |
static String |
getTimerName(String cname,
String name)
Construct the standard name for a Timer derived from a method in the tracing facility. |
static TimerFactory |
make(ObjectRegistrationManager orm,
String name,
String description)
Create a new TimerFactory. |
static TimerFactory |
make(String name,
String description)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerFactoryBuilder()
| Method Detail |
|---|
public static String getTimerName(String cname,
String name)
cname - The name of the monitored clasname - The name of a monitored method or info method
public static TimerFactory make(String name,
String description)
public static TimerFactory make(ObjectRegistrationManager orm,
String name,
String description)
public static void destroy(TimerFactory factory)
public static List<TimerFactory> contents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||