MCPcopy Create free account
hub / github.com/ReadyTalk/avian / get

Method get

classpath/java/util/concurrent/FutureTask.java:128–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 }
127
128 @Override
129 public T get() throws InterruptedException, ExecutionException {
130 try {
131 return get(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
132 } catch (TimeoutException e) {
133 // not possible
134 throw new RuntimeException(e);
135 }
136 }
137
138 @Override
139 public T get(long timeout, TimeUnit unit) throws InterruptedException,

Callers 4

getCallableResultTestMethod · 0.95
getRunnableResultTestMethod · 0.95
getTimeoutFailMethod · 0.95

Calls 5

currentTimeMillisMethod · 0.95
isDoneMethod · 0.95
toMillisMethod · 0.80
getMethod · 0.65
waitMethod · 0.45

Tested by 4

getCallableResultTestMethod · 0.76
getRunnableResultTestMethod · 0.76
getTimeoutFailMethod · 0.76