public class EmbeddedConnectionProvider extends Object implements ConnectionProvider
home/database
. The log file for this connection provider is stored at
[home]/logs/EmbeddedConnectionProvider.log
, so you should ensure
that the [home]/logs
directory exists.Constructor and Description |
---|
EmbeddedConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Tells the connection provider to destroy itself.
|
void |
finalize() |
Connection |
getConnection()
Returns a database connection.
|
boolean |
isPooled()
Returns true if this connection provider provides connections out
of a connection pool.
|
void |
restart()
This method should be called whenever properties have been changed so
that the changes will take effect.
|
void |
start()
Starts the connection provider.
|
public boolean isPooled()
ConnectionProvider
isPooled
in interface ConnectionProvider
public Connection getConnection() throws SQLException
ConnectionProvider
getConnection
in interface ConnectionProvider
SQLException
- is an SQL error occured while retrieving the connection.public void start()
ConnectionProvider
start
in interface ConnectionProvider
public void restart()
ConnectionProvider
restart
in interface ConnectionProvider
public void destroy()
ConnectionProvider
destroy
in interface ConnectionProvider
Copyright © 2003–2019 Ignite Realtime. All rights reserved.