Object ret = joinPoint.proceed();
workMonitor.recordWorkOk(workName, System.currentTimeMillis() - start);
return ret;
}
catch (InterruptedException e) {
workMonitor.recordWorkError(workName, System.currentTimeMillis() - start);
Thread.currentThread().interrupt();
throw e;
}
catch (RuntimeException e) {
workMonitor.recordWorkError(workName, System.currentTimeMillis() - start);