Class InMemoryDB

java.lang.Object
org.hsqldb.server.Server
org.hsqldb.Server
com.smeup.kokos.sdk.db.InMemoryDB
All Implemented Interfaces:
org.hsqldb.lib.Notified, org.hsqldb.server.HsqlSocketRequestHandler

public class InMemoryDB extends org.hsqldb.Server
Author:
mattia.bonardi
  • Field Summary

    Fields inherited from class org.hsqldb.server.Server

    dbActionSequence, dbAlias, dbID, dbPath, dbProps, dbType, isDaemon, isRemoteOpen, maxConnections, maxWaitForClientData, serverBundleHandle, serverConnectionThreadGroup, serverId, serverProtocol, socket, socketFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    static InMemoryDB
     
    boolean
     
    void
    startDB(String databaseName)
     
    void
     

    Methods inherited from class org.hsqldb.server.Server

    allowConnection, checkRunning, closeOldestDatabase, getAddress, getDatabaseName, getDatabasePath, getDatabaseType, getDefaultWebPage, getErrWriter, getHelpString, getLocalPort, getLogWriter, getMaxWait, getPort, getProductName, getProductVersion, getProtocol, getServerError, getServerId, getServerThread, getState, getStateDescriptor, getWebRoot, handleConnection, init, isNoSystemExit, isNotRunning, isRestartOnShutdown, isSilent, isTls, isTrace, main, notify, print, printError, printHelp, printProperties, printStackTrace, printWithThread, putPropertiesFromFile, putPropertiesFromFile, putPropertiesFromString, setAddress, setDaemon, setDatabaseName, setDatabasePath, setDefaultWebPage, setErrWriter, setLogWriter, setMaxWait, setNoSystemExit, setPort, setProperties, setProperties, setRestartOnShutdown, setServerError, setSilent, setState, setTls, setTrace, setWebRoot, shutdown, shutdown, shutdownCatalogs, shutdownWithCatalogs, signalCloseAllServerConnections, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static InMemoryDB getInstance()
    • startDB

      public void startDB(String databaseName)
    • stopDB

      public void stopDB()
    • isRunning

      public boolean isRunning()