Interface ODatabasePoolInternal

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
ODatabasePoolImpl

public interface ODatabasePoolInternal extends AutoCloseable
Created by tglman on 27/06/16.
  • Method Details

    • acquire

      ODatabaseSession acquire()
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • release

      void release(ODatabaseDocumentInternal database)
    • getConfig

      OrientDBConfig getConfig()
    • isClosed

      boolean isClosed()
      Check if database pool is closed
      Returns:
      true if pool is closed
    • isUnused

      boolean isUnused()
      Check that all resources owned by the pool are in the pool
      Returns:
    • getLastCloseTime

      long getLastCloseTime()
      Check last time that a resource was returned to the pool
      Returns: