public void releaseDatabaseEngine ( final String iLanguage , final String iDatabaseName , final OPartitionedObjectPool . PoolEntry < ScriptEngine > poolEntry ) { final ODatabaseScriptManager dbManager = dbManagers . get ( iDatabaseName ) ; // We check if there is still a valid pool because it could be removed by the function reload if ( dbManager != null ) { dbManager . releaseEngine ( iLanguage , poolEntry ) ; } }
Acquires a database engine from the pool . Once finished using it the instance MUST be returned in the pool by calling the method