src/main/java/com/helospark/telnetsnake/game/repository/configuration/HsqlAutoServerManager.java
/**
     * If this JVM started the server, the server will be shut down, otherwise
     * no operation.
     */
If this JVM started the server, the server will be shut down, otherwise
no operation.
If this JVM started the server the server will be shut down otherwise no operation .
public synchronized void shutdown() throws SQLException {
        if (ownedServer.isPresent()) {
            ownedServer.get().shutdown();
            File file = new File(databaseFileName + AUTOSTART_SERVER_FILE_LOCK_POSTFIX);
            file.delete();
            LOGGER.info("Database shutdown");
        } else {
            LOGGER.info("Database is not owned by this JVM");
        }
    }
public synchronized void shutdown ( ) throws SQLException { if ( ownedServer . isPresent ( ) ) { ownedServer . get ( ) . shutdown ( ) ; File file = new File ( databaseFileName + AUTOSTART_SERVER_FILE_LOCK_POSTFIX ) ; file . delete ( ) ; LOGGER . info ( "Database shutdown" ) ; } else { LOGGER . info ( "Database is not owned by this JVM" ) ; } }
If this JVM started the server, the server will be shut down, otherwise
 no operation.
If this JVM started the server the server will be shut down otherwise no operation .