public interface TraceManager extends ServiceManager
This functionality includes:
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 optioanl 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
|
getDatabase, getHost, getLogger, getPort, getServerVersion, getWireCryptAsEnum, setDatabase, setHost, setLogger, setPort, setWireCryptAsEnum
getExpectedDb, getServiceName, setExpectedDb, setServiceName
getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCrypt
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
void startTraceSession(java.lang.String traceSessionName, java.lang.String configuration) throws java.sql.SQLException
traceSessionName
- 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.SQLException
void stopTraceSession(int traceSessionId) throws java.sql.SQLException
traceSessionId
- The trace session IDjava.sql.SQLException
void suspendTraceSession(int traceSessionId) throws java.sql.SQLException
traceSessionId
- The trace session IDjava.sql.SQLException
void resumeTraceSession(int traceSessionId) throws java.sql.SQLException
traceSessionId
- The trace session IDjava.sql.SQLException
void listTraceSessions() throws java.sql.SQLException
java.sql.SQLException
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.
sessionName
- Name of the sessionCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.