Code example for Callable

Methods: call

0
				return null; 
			} 
		} else if (!semaphore.tryAcquire())
			return null; 
		try { 
			return callable.call();
		} catch (final Throwable e) {
			throw new RuntimeException("Exception in sequencial part", e);
		} finally { 
			semaphore.release();
		} 
	} 
}