public interface OCachedDatabasePoolFactory
Modifier and Type | Method and Description |
---|---|
void |
close()
Close all cached pools, clear cache.
|
ODatabasePoolInternal |
get(String database,
String username,
String password,
OrientDBConfig config)
Get
ODatabasePoolInternal from cache or create and cache new ODatabasePoolInternal |
boolean |
isClosed()
Check if factory is closed
|
OCachedDatabasePoolFactory |
reset()
Close all cached pools and clear cache
|
ODatabasePoolInternal get(String database, String username, String password, OrientDBConfig config)
ODatabasePoolInternal
from cache or create and cache new ODatabasePoolInternal
database
- name of databaseusername
- user namepassword
- user passwordODatabasePoolInternal
cached database poolOCachedDatabasePoolFactory reset()
void close()
boolean isClosed()
Copyright © 2009–2020 OrientDB. All rights reserved.