@Override public T call() throws Exception { return callInternal(); }
@Override public T call() throws Exception { return callInternal(); }
/** * Get the reference or wait until it becomes available. * @return Returns the reference or throws a {@link DynamicReferenceException}. */ public T get() { try { return callInternal(); } catch (TimeoutException ex) { throw new DynamicReferenceException(String.format(TIMEOUT_MESSAGE_FORMAT, name)); } }
/** * Get the reference or wait until it becomes available. * @return Returns the reference or throws a {@link DynamicReferenceException}. */ public T get() { try { return callInternal(); } catch (TimeoutException ex) { throw new DynamicReferenceException(String.format(TIMEOUT_MESSAGE_FORMAT, name)); } }