Package org.eclipse.jetty.util
Interface Blocker.Promise<C>
- All Superinterfaces:
AutoCloseable
,Invocable
,Promise<C>
- Enclosing class:
- Blocker
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Promise
Promise.Adapter<U>, Promise.Completable<S>, Promise.Invocable<R>, Promise.Task<T>, Promise.Wrapper<W>
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking, NOOP
-
Method Summary
Methods inherited from interface org.eclipse.jetty.util.thread.Invocable
getInvocationType
Methods inherited from interface org.eclipse.jetty.util.Promise
completeWith, failed, succeeded
-
Method Details
-
block
- Throws:
IOException
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-