wt.fc.profiling
Class DatastoreProfilingHelper
java.lang.Object
wt.fc.profiling.DatastoreProfilingHelper
- public class DatastoreProfilingHelper
- extends Object
This class implements static helper methods for datastore profiling.
Supported API: false
Extendable: false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BIND_PARAMETER_LOGGING_ENABLE
public static Object BIND_PARAMETER_LOGGING_ENABLE
DatastoreProfilingHelper
public DatastoreProfilingHelper()
addBeginEntry
public static TraceTimingEntry addBeginEntry(String a_className,
String a_name,
StatementBuilder a_statementBuilder,
int a_sqlIndex,
TraceTimingLogger a_logger)
throws PersistenceException
- Adds a begin entry to the log.
Supported API: false
- Parameters:
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_statementBuilder
- contains the SQL statement information to log.a_sqlIndex
- indicates the SQL statement in the statement builder.a_logger
- The logger to log to.
- Returns:
- TraceTimingEntry
- Throws:
PersistenceException
addBeginEntry
public static TraceTimingEntry addBeginEntry(String a_className,
String a_name,
String a_sqlStatement,
Object a_bindParameters,
TraceTimingLogger a_logger)
- Adds a begin entry to the log.
Supported API: false
- Parameters:
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_sqlStatement
- SQL statement to log.a_bindParameters
- bind parameter information to log.a_logger
- The logger to log to.
- Returns:
- TraceTimingEntry
isBindParameterLoggingEnabled
public static boolean isBindParameterLoggingEnabled()
- Indicates if bind parameter logging is enabled.
Supported API: false