|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.e2etrace.config.DefaultTraceConfig
public class DefaultTraceConfig
Default implementation of the e2etrace configuration.
This implementation returns the following default values for all configuration settings:
ITraceSessionManager.setConfig(ITraceConfig)).
| Constructor Summary | |
|---|---|
DefaultTraceConfig()
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
isTraceEnabled()
Is tracing enabled at all? |
boolean |
isTraceEnabledForId(ITraceStepId id)
Is tracing enabled for the given trace step id? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTraceConfig()
| Method Detail |
|---|
public boolean isTraceEnabled()
If this method returns false e2etrace does not collect any
trace information. All potential time consuming methods of e2etrace will
immediately return.
isTraceEnabled in interface ITraceConfigpublic boolean isTraceEnabledForId(ITraceStepId id)
If this method returns false for the given id, e2etrace does
not collect any trace information for this specific trace id. Basically,
this reduces the amount of collected data but not the general overhead of
the trace mechanismn itself.
Note: If tracing is disabled for a trace session id, no trace
data will be collected for the complete session.
isTraceEnabledForId in interface ITraceConfigid - the trace id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||