public final class ConnectionKeeper extends Object
As advised in the HSQLDB documentation, if HSQLDB is used in-process, a connection to it should be open at all times, to prevent the database from shutting down. One connections seems not to be good enough, though (probably due to a HSQLDB bug). Two connections does the trick.
Constructor and Description |
---|
ConnectionKeeper(String ofbizHelperName,
int numberConnections,
int sleepMillis)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
shutdown()
Deprecated.
|
void |
start()
Deprecated.
Schedule the connection keeper.
|
public ConnectionKeeper(String ofbizHelperName, int numberConnections, int sleepMillis)
public void start()
public void shutdown()
Copyright © 2002-2019 Atlassian. All Rights Reserved.