Class SQLiteConnector

java.lang.Object
dev.esophose.playerparticles.database.SQLiteConnector
All Implemented Interfaces:
DatabaseConnector

public class SQLiteConnector
extends java.lang.Object
implements DatabaseConnector
  • Nested Class Summary

    Nested classes/interfaces inherited from interface dev.esophose.playerparticles.database.DatabaseConnector

    DatabaseConnector.ConnectionCallback
  • Constructor Summary

    Constructors 
    Constructor Description
    SQLiteConnector​(org.bukkit.plugin.Plugin plugin)  
  • Method Summary

    Modifier and Type Method Description
    void closeConnection()
    Closes all open connections to the database
    void connect​(DatabaseConnector.ConnectionCallback callback)
    Executes a callback with a Connection passed and automatically closes it when finished
    boolean isInitialized()
    Checks if the connection to the database has been created

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait