587588589590591592593594595596597
try { export(resultPool,destfile,true,true, job.getCursorMap()); } finally{ readLock.unlock(); } } else {
816817818819820821822823824825826
ReadLock readLock = readWriteLock.readLock(); readLock.lock(); try { return pool.getNumIdle(); } finally { readLock.unlock(); } } /** * {@inheritDoc}
830831832833834835836837838839840
ReadLock readLock = readWriteLock.readLock(); readLock.lock(); try { return pool.getNumActive(); } finally { readLock.unlock(); } } /** * {@inheritDoc}
9909919929939949959969979989991000
ReadLock readLock = readWriteLock.readLock(); readLock.lock(); try { return keyedPool.getNumIdle(key); } finally { readLock.unlock(); } } /** * {@inheritDoc}
10041005100610071008100910101011101210131014
ReadLock readLock = readWriteLock.readLock(); readLock.lock(); try { return keyedPool.getNumActive(key); } finally { readLock.unlock(); } } /** * {@inheritDoc}
10181019102010211022102310241025102610271028
ReadLock readLock = readWriteLock.readLock(); readLock.lock(); try { return keyedPool.getNumIdle(); } finally { readLock.unlock(); } } /** * {@inheritDoc}
10321033103410351036103710381039104010411042
ReadLock readLock = readWriteLock.readLock(); readLock.lock(); try { return keyedPool.getNumActive(); } finally { readLock.unlock(); } } /** * {@inheritDoc}
209210211212213214215216217218219
lock.lock(); try { checkLoaded(); version = data.getVersion(packageKey); } finally { lock.unlock(); } return version; }
242243244245246247248249250251252
lock.lock(); try { checkLoaded(); data.setVersion(packageKey, version); } finally { lock.unlock(); } } /** * Called by the get/set version methods to ensure the caller has properly initialized the data storage.
3233343536373839404142
ReadLock rl = _lock.readLock(); rl.lock(); try { return call.call(); } finally { rl.unlock(); } } public void runReadOperation(Runnable r) {