public interface ITracingService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
disable(long componentName)
Disables a specific tracing component
|
void |
disableTracing()
Disables tracing subsystem.
|
void |
enable(long componentName)
Enables a specific tracing component
|
void |
enableTracing()
Enable tracing subsystem.
|
void |
entry(long componentName,
java.lang.String className,
java.lang.String methodName)
Writes an entry in the trace file to record the entry from a method
|
void |
entry(long componentName,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] params)
Writes an entry in the trace file to record the entry from a method
|
void |
exit(long componentName,
java.lang.String className,
java.lang.String methodName)
Writes an exit in the trace file to record the exit from a method
|
void |
exit(long componentName,
java.lang.String className,
java.lang.String methodName,
java.lang.Object retValue)
Writes an entry in the trace file to record the exit from a method
|
boolean |
isClientInfoEnabled()
Checks if client tracing information is enabled.
|
boolean |
isTraceable(long componentName)
Checks if a particular component is tracable.
|
boolean |
isTraceEnabled()
Checks if tracing is enabled.
|
void |
setClientInfoEnabled(boolean value)
Sets the client tracing information option.
|
void |
trace(long componentName,
java.lang.String className,
java.lang.String methodName,
java.lang.String text)
Writes an entry in the trace file to record a trace point in a method.
|
static final java.lang.String COPYRIGHT
void disable(long componentName)
component
- tracing component Idvoid disableTracing()
void enable(long componentName)
component
- tracing component Idvoid enableTracing()
void entry(long componentName, java.lang.String className, java.lang.String methodName)
componentId
- tracing componentclassName
- class namemethodName
- method namevoid entry(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object[] params)
componentId
- tracing componentclassName
- class namemethodName
- method nameparam
- the entry parameters to the method.void exit(long componentName, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
componentId
- tracing componentclassName
- class namemethodName
- method nameretValue
- return object valuevoid exit(long componentName, java.lang.String className, java.lang.String methodName)
componentId
- tracing componentclassName
- class namemethodName
- method nameboolean isClientInfoEnabled()
boolean isTraceable(long componentName)
componentId
- component nameboolean isTraceEnabled()
void trace(long componentName, java.lang.String className, java.lang.String methodName, java.lang.String text)
componentName
- The name of the component to which the class to be traced belongsclassname
- the name of the class to be tracedmethodName
- the name of the method to be tracedtext
- the text to be recordedvoid setClientInfoEnabled(boolean value)
value
- client tracing information enablement value