|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectetm.core.configuration.BasicEtmConfigurator
public class BasicEtmConfigurator
BasicEtmConfigurator configuration implementation for programmatic monitor configuration.
For custom configuration seeXmlEtmConfigurator.
Be aware that you need to start and stop the EtmMonitor before
using it. Example:
BasicEtmConfigurator.configure(); EtmMonitor etmMonitor = EtmManager.getEtmMonitor(); etmMonitor.start(); ...
| Constructor Summary | |
|---|---|
BasicEtmConfigurator()
|
|
| Method Summary | |
|---|---|
static void |
configure()
Configures EtmManager to use a FlatMonitor
with default settings. |
static void |
configure(boolean nested)
Configures EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with default settings. |
static void |
configure(boolean nested,
Aggregator aggregator)
Configures EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with default timer and given aggregator chain. |
static void |
configure(boolean nested,
ExecutionTimer timer)
Configures EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with default aggregator settings and given time. |
static void |
configure(boolean nested,
ExecutionTimer timer,
Aggregator aggregator)
Configures EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with the given ExecutionTimer and Aggregator chain.. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicEtmConfigurator()
| Method Detail |
|---|
public static void configure()
EtmManager to use a FlatMonitor
with default settings. Same as configure(false).
public static void configure(boolean nested)
EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with default settings.
nested - True creates an NestedMonitor, false a FlatMonitor.
public static void configure(boolean nested,
Aggregator aggregator)
EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with default timer and given aggregator chain.
nested - True creates an NestedMonitor, false a FlatMonitor.aggregator - The aggregator chain to be used.
public static void configure(boolean nested,
ExecutionTimer timer)
EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with default aggregator settings and given time.
nested - True creates an NestedMonitor, false a FlatMonitor.timer - The ExecutionTimer to be used.
public static void configure(boolean nested,
ExecutionTimer timer,
Aggregator aggregator)
EtmManager to use a FlatMonitor
or NestedMonitor depending on the given parameter
with the given ExecutionTimer and Aggregator chain..
nested - True creates an NestedMonitor, false a FlatMonitor.aggregator - The aggregator chain to be used.timer - The ExecutionTimer to be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||