Class ConnectionManager


  • public class ConnectionManager
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Connection getConnection​(boolean includeDatabase)  
      void shutdown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectionManager

        public ConnectionManager​(net.lapismc.lapiscore.LapisCorePlugin core,
                                 LapisURL url,
                                 DataStore.StorageType type,
                                 java.lang.String username,
                                 java.lang.String password)
    • Method Detail

      • getConnection

        public java.sql.Connection getConnection​(boolean includeDatabase)
                                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • shutdown

        public void shutdown()