Interface ManageableDataSource

  • All Superinterfaces:
    AutoCloseable, CommonDataSource, DataSource, Wrapper
    All Known Implementing Classes:
    AbstractManageableDataSource, DBCPDataSource

    public interface ManageableDataSource
    extends DataSource, AutoCloseable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Closes up the datasource, frees all of its resources.
      • Methods inherited from interface CommonDataSource

        createShardingKeyBuilder, getParentLogger
      • Methods inherited from interface DataSource

        createConnectionBuilder, getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
      • Methods inherited from interface Wrapper

        isWrapperFor, unwrap
    • Method Detail

      • close

        void close()
            throws SQLException
        Closes up the datasource, frees all of its resources. No other connection can be gathered from this DataSource once close() has been called
        Specified by:
        close in interface AutoCloseable
        Throws:
        SQLException