733734735736737738739740741742743
response = delegate.execute(target, request); } catch (ClientProtocolException cpe) { task.endTask(); throw cpe; } catch (IOException io) { task.endTask(); throw io; } finally { lock.readLock().unlock(); }
751752753754755756757758759760761
final HttpResponse response; lock.readLock().lock(); try { response = delegate.execute(target, request, context); } catch (ClientProtocolException cpe) { task.endTask(); throw cpe; } catch (IOException io) { task.endTask(); throw io; } finally {
754755756757758759760761762763764
response = delegate.execute(target, request, context); } catch (ClientProtocolException cpe) { task.endTask(); throw cpe; } catch (IOException io) { task.endTask(); throw io; } finally { lock.readLock().unlock(); }
7475767778798081828384
if (t.equals(task)) { log.debug("Ending task {}.{}", t.getGroup(), t.getName()); break; } else { log.debug("Ending task {}.{} because it's a sub-task", t.getGroup(), t.getName()); t.endTask(); } } if (!stack.isEmpty()) { stack.peek().subTaskEnded(); }
247248249250251252253254255256257
} } catch (InterruptedException e) { // ignore } } task.endTask(); log.trace("Watchdog: shutdown"); } public void shutdown() { running = false;
10561057105810591060106110621063106410651066
updating.beginTask(JGitText.get().updatingReferences, toApply.size()); for (ReceiveCommand cmd : toApply) { updating.update(1); execute(cmd); } updating.endTask(); } private void execute(final ReceiveCommand cmd) { try { final RefUpdate ru = db.updateRef(cmd.getRefName());
11231124112511261127112811291130113111321133
} if (o instanceof RevBlob && !db.hasObject(o)) throw new MissingObjectException(o, Constants.TYPE_BLOB); } checking.endTask(); if (baseObjects != null) { for (ObjectId id : baseObjects) { o = ow.parseAny(id); if (!o.has(RevFlag.UNINTERESTING))
11341135113611371138113911401141114211431144
updating.beginTask(JGitText.get().updatingReferences, toApply.size()); for (ReceiveCommand cmd : toApply) { updating.update(1); cmd.execute(this); } updating.endTask(); } /** * Send a status report. *
726727728729730731732733734735736
+ e.getMessage()); } } } } traceTime.endTask(); logger.log(BasicLevel.INFO, "End of thread loops : " + traceTime.report()); } }); }