public class JdbcLogFactory extends Object implements LogFactory
Constructor and Description |
---|
JdbcLogFactory(SessionSettings settings)
Create a factory using session settings.
|
Modifier and Type | Method and Description |
---|---|
Log |
create(SessionID sessionID)
Create a JDBC logger.
|
protected SessionSettings |
getSettings()
Used to support the MySQL-specific class (JNI compatibility)
|
void |
setDataSource(DataSource dataSource)
Set a data source to be used by the JdbcLog to access
the database.
|
public JdbcLogFactory(SessionSettings settings)
public Log create(SessionID sessionID)
create
in interface LogFactory
sessionID
- the sessionID for the message store.protected SessionSettings getSettings()
public void setDataSource(DataSource dataSource)
dataSource
- Copyright © 2021. All rights reserved.