public class FBTraceManager extends FBServiceManager implements TraceManager
BUFFER_SIZE| Constructor and Description |
|---|
FBTraceManager()
Create a new instance of
FBTraceManager based on the default GDSType. |
FBTraceManager(GDSType gdsType)
Create a new instance of
FBTraceManager based on a given GDSType. |
FBTraceManager(java.lang.String gdsType)
Create a new instance of
FBTraceManager based on a given GDSType. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getSessionId(java.lang.String sessionName)
Gets the sessionId for the given name.
|
void |
listTraceSessions()
List all currently registered trace sessions
|
void |
resumeTraceSession(int traceSessionId)
Resumes a trace session with the given trace session ID
|
void |
startTraceSession(java.lang.String traceSessionName,
java.lang.String configuration)
Starts a trace session with an optional trace session name and configuration
|
void |
stopTraceSession(int traceSessionId)
Stops a trace session with the given trace session ID
|
void |
suspendTraceSession(int traceSessionId)
Suspends a trace session with the given trace session ID
|
attachDatabase, attachServiceManager, connectionPropertyValues, createRequestBuffer, executeServicesOperation, executeServicesOperation, getAuthPlugins, getBooleanProperty, getCharSet, getDatabase, getDbCryptConfig, getExpectedDb, getHost, getIntProperty, getLogger, getPassword, getPort, getPortNumber, getProperty, getServerName, getServerVersion, getServiceName, getUser, getWireCrypt, getWireCryptAsEnum, isWireCompression, queueService, setAuthPlugins, setBooleanProperty, setCharSet, setDatabase, setDbCryptConfig, setExpectedDb, setHost, setIntProperty, setLogger, setPassword, setPort, setPortNumber, setProperty, setServerName, setServiceName, setType, setUser, setWireCompression, setWireCryptAsEnumclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatabase, getHost, getLogger, getPort, getServerVersion, getWireCryptAsEnum, setDatabase, setHost, setLogger, setPort, setWireCryptAsEnumgetExpectedDb, getServiceName, setExpectedDb, setServiceNamegetAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCryptconnectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setPropertypublic FBTraceManager()
FBTraceManager based on the default GDSType.public FBTraceManager(java.lang.String gdsType)
FBTraceManager based on a given GDSType.gdsType - type must be PURE_JAVA, EMBEDDED, or NATIVEpublic FBTraceManager(GDSType gdsType)
FBTraceManager based on a given GDSType.gdsType - type must be PURE_JAVA, EMBEDDED, or NATIVEpublic void startTraceSession(java.lang.String traceSessionName,
java.lang.String configuration)
throws java.sql.SQLException
startTraceSession in interface TraceManagertraceSessionName - The trace session name (optional)configuration - The trace configuration. For an example, look into fbtrace.conf in the root directory of your
Firebird installationjava.sql.SQLExceptionpublic void stopTraceSession(int traceSessionId)
throws java.sql.SQLException
stopTraceSession in interface TraceManagertraceSessionId - The trace session IDjava.sql.SQLExceptionpublic void suspendTraceSession(int traceSessionId)
throws java.sql.SQLException
suspendTraceSession in interface TraceManagertraceSessionId - The trace session IDjava.sql.SQLExceptionpublic void resumeTraceSession(int traceSessionId)
throws java.sql.SQLException
resumeTraceSession in interface TraceManagertraceSessionId - The trace session IDjava.sql.SQLExceptionpublic void listTraceSessions()
throws java.sql.SQLException
listTraceSessions in interface TraceManagerjava.sql.SQLExceptionpublic java.lang.Integer getSessionId(java.lang.String sessionName)
Returns null if the sessionName does not exist or hasn't been initialized yet.
If multiple sessions are started with the same name, the last one is returned.
getSessionId in interface TraceManagersessionName - Name of the sessionCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.