public interface ODatabasePoolInternal extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
ODatabaseSession |
acquire() |
void |
close() |
OrientDBConfig |
getConfig() |
long |
getLastCloseTime()
Check last time that a resource was returned to the pool
|
boolean |
isClosed()
Check if database pool is closed
|
boolean |
isUnused()
Check that all resources owned by the pool are in the pool
|
void |
release(ODatabaseDocumentInternal database) |
ODatabaseSession acquire()
void close()
close
in interface AutoCloseable
void release(ODatabaseDocumentInternal database)
OrientDBConfig getConfig()
boolean isClosed()
boolean isUnused()
long getLastCloseTime()
Copyright © 2009–2020 OrientDB. All rights reserved.