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