Esempio n. 1
0
 /** Calls {@link #destroyImplInLock()} while claiming the lock. */
 protected final void defaultDestroy() {
   final RecursiveLock lock = getLock();
   lock.lock();
   try {
     destroyImplInLock();
   } finally {
     lock.unlock();
   }
 }
Esempio n. 2
0
 @Override
 protected void destroyImplInLock() {
   super.destroyImplInLock();
 }