We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class GetFuture<T> implements Future<T> { private final OperationFuture<Future<T>> rv; public GetFuture(CountDownLatch l, long opTimeout) { this.rv = new OperationFuture<Future<T>>(l, opTimeout); } public boolean cancel(boolean ign) { return rv.cancel(ign); } public T get() throws InterruptedException, ExecutionException { Future<T> v = rv.get(); return v == null ? null : v.get(); } public T get(long duration, TimeUnit units) throws InterruptedException, TimeoutException, ExecutionException { Future<T> v = rv.get(duration, units); return v == null ? null : v.get(); } public OperationStatus getStatus() { return rv.getStatus(); } public void set(Future<T> d, OperationStatus s) { rv.set(d, s); } public void setOperation(Operation to) { rv.setOperation(to); } public boolean isCancelled() { return rv.isCancelled(); } public boolean isDone() { return rv.isDone(); } }
프로젝트 내부에서만 호출할 수 있는 접근 제한자
The text was updated successfully, but these errors were encountered:
위 Future들 중 응용이 접근하면 비정상적인 동작을 유발하는 메서드들을 찾아내어 변경할 예정입니다.
Sorry, something went wrong.
uhm0311
No branches or pull requests
프로젝트 내부에서만 호출할 수 있는 접근 제한자
는 존재하지 않아 접근 제한자를 사용해 API로 노출할 메소드만 노출하는 방안은 존재하지 않는다.The text was updated successfully, but these errors were encountered: