MCPcopy Create free account
hub / github.com/traneio/future / get

Method get

future-java/src/main/java/io/trane/future/Future.java:525–525  ·  view source on GitHub ↗

Blocks the current thread until this future is satisfied and gets its result. This method normally only useful for tests, avoid it for production code . @param timeout for how long the thread should wait for the result @return the result if the future completes successfully or an excepti

(Duration timeout)

Source from the content-addressed store, hash-verified

523 * the exception is unchecked, it's thrown without this wrapper.
524 */
525 T get(Duration timeout) throws CheckedFutureException;
526
527 /**
528 * Blocks the current thread until this future is satisfied. This method

Callers 15

getMethod · 0.65
ensureMethod · 0.65
delayedMethod · 0.65
getMethod · 0.65
applyWithLocalMethod · 0.65
applyHandlerMethod · 0.65
applyHandlerWithLocalMethod · 0.65
applyTwoHandlersMethod · 0.65
applyHandlersMethod · 0.65
createMethod · 0.65

Calls

no outgoing calls

Tested by 15

getMethod · 0.52
ensureMethod · 0.52
delayedMethod · 0.52
getMethod · 0.52
applyWithLocalMethod · 0.52
applyHandlerMethod · 0.52
applyHandlerWithLocalMethod · 0.52
applyTwoHandlersMethod · 0.52
applyHandlersMethod · 0.52
createMethod · 0.52