Interface Database

    • Method Detail

      • createOrOpen

        <T> DbConcurrentMap<T> createOrOpen​(String tableName,
                                            Class<T> clazz)
        Creates the or open table of defined tableName.
        Type Parameters:
        T - the generic type
        Parameters:
        tableName - the table name
        clazz - the clazz
        Returns:
        the db concurrent map
      • drop

        void drop​(String tableName)
        Drops table with defined tableName.
        Parameters:
        tableName - the table name
      • commit

        void commit()
             throws IOException
        Commit.
        Throws:
        IOException - Signals that an I/O exception has occurred.
      • close

        void close()
            throws IOException
        Close.
        Throws:
        IOException - Signals that an I/O exception has occurred.