public final class ECTracingProvider extends java.lang.Object implements ITracingService
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ECTracingProvider() |
Modifier and Type | Method and Description |
---|---|
void | disable()
Disables tracing subsystem.
|
void | disable(long componentId)
Disables a specific tracing component.
|
void | disableTracing()
Disables tracing subsystem.
|
void | enable()
Enables tracing subsystem.
|
void | enable(long componentId)
Enables a specific tracing component.
|
void | enableTracing()
Enables tracing subsystem.
|
void | entry(long componentId, 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 componentId, java.lang.String className, java.lang.String methodName, java.lang.Object[] param)
Writes an entry in the trace file to record the entry from a method.
|
void | exit(long componentId, java.lang.String className, java.lang.String methodName)
Writes an entry in the trace file to record the exit from a method
|
void | exit(long componentId, 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
|
protected void | finalize()
Closes the file output for cleanup.
|
static long | getComponent(java.lang.Object comp)
Gets the component id
|
static java.lang.String | getComponentName(long componentId)
Gets the component name.
|
int | getSizeOfComponent()
Returns the number of tracing components.
|
static ECTracingProvider | getUniqueInstance()
Gets an unique instance of ECTracingProvider.
|
protected static void | initialize()
Performs initialization of variables
|
boolean | isClientInfoEnabled()
Checks if client tracing information is enabled.
|
boolean | isTraceable(long componentId)
This method is used to check if a particular component is tracable.
|
boolean | isTraceEnabled()
Checks if tracing is enabled.
|
void | overrideMask(int[] componentMask)
Updates the status of the tracing components.
|
void | setClientInfoEnabled(boolean value)
Sets the Client Tracing information option.
|
void | trace(long componentId, 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.
|
public static final java.lang.String COPYRIGHT
public void disable()
public void disable(long componentId)
public void disableTracing()
public void enable()
public void enable(long componentId)
public void enableTracing()
public void entry(long componentId, java.lang.String className, java.lang.String methodName)
public void entry(long componentId, java.lang.String className, java.lang.String methodName, java.lang.Object[] param)
public void exit(long componentId, java.lang.String className, java.lang.String methodName)
public void exit(long componentId, java.lang.String className, java.lang.String methodName, java.lang.Object retValue)
protected void finalize()
public static long getComponent(java.lang.Object comp)
public static java.lang.String getComponentName(long componentId)
public int getSizeOfComponent()
public static ECTracingProvider getUniqueInstance()
protected static void initialize()
public boolean isClientInfoEnabled()
public boolean isTraceable(long componentId)
public boolean isTraceEnabled()
public void overrideMask(int[] componentMask)
public void trace(long componentId, java.lang.String className, java.lang.String methodName, java.lang.String text)
public void setClientInfoEnabled(boolean value)