Code example for Future

Methods: get, isDone

0
	 * @see org.apache.wicket.model.AbstractReadOnlyModel#getObject() 
	 */ 
	@Override 
	public T getObject() { 
		try { 
			return future.isDone() ? future.get() : null;
		} catch (Exception e) {
			throw new RuntimeException(e);
		} 
	} 
	 
}