@Override
	public void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException) {
		// sera recalculé: final long jobRunTime = context.getJobRunTime();
		final String stackTrace;
		if (jobException == null) {
			stackTrace = null;
		} else {
			final StringWriter stackTraceWriter = new StringWriter(200);
			jobException.printStackTrace(new PrintWriter(stackTraceWriter));
			stackTrace = stackTraceWriter.toString();
		}
		// on enregistre la requête dans les statistiques
		JOB_COUNTER.addRequestForCurrentContext(stackTrace);
	}
@ Override public void jobWasExecuted ( JobExecutionContext context , JobExecutionException jobException ) { final String stackTrace ; if ( jobException == null ) { stackTrace = null ; } else { final StringWriter stackTraceWriter = new StringWriter ( 200 ) ; jobException . printStackTrace ( new PrintWriter ( stackTraceWriter ) ) ; stackTrace = stackTraceWriter . toString ( ) ; } JOB_COUNTER . addRequestForCurrentContext ( stackTrace ) ; }
{@inheritDoc}