code: protected int executeProgram(PackagedProgram program, Client client, int parallelism) {
  		JobExecutionResult execResult;
  		try {
  			client.setPrintStatusDuringExecution(true);
  			execResult = client.run(program, parallelism, true);
  		}
  		catch (ProgramInvocationException e) {
  			return handleError(e);
  		}
  		finally {
  			program.deleteExtractedLibraries();
  		}
  		
  		// we come here after the job has finished
  		if (execResult != null) {
  			System.out.println("Job Runtime: " + execResult.getNetRuntime());
  			Map<String, Object> accumulatorsResult = execResult.getAllAccumulatorResults();
  			if (accumulatorsResult.size() > 0) {
  				System.out.println("Accumulator Results: ");
  				System.out.println(AccumulatorHelper.getResultsFormated(accumulatorsResult));
  			}
  		}
  		return 0;
  	}
docs: --------------------------------------------------------------------------------------------