public interface ProtocolTimeoutHandler
Modifier and Type | Method and Description |
---|---|
org.xnio.IoFuture.Status |
await(org.xnio.IoFuture<?> future,
long timeoutMillis)
Wait for the specified time on the supplied
IoFuture , taking into account that some of this time could actually
not be related to the establishment of the connection but instead some local task such as user think time. |
org.xnio.IoFuture.Status await(org.xnio.IoFuture<?> future, long timeoutMillis)
IoFuture
, taking into account that some of this time could actually
not be related to the establishment of the connection but instead some local task such as user think time.future
- - The IoFuture
to wait on.timeoutMillis
- - The configures timeout in milliseconds.IoFuture.Status
when available or at the time the timeout is reached - whichever is soonest.Copyright © 2023 JBoss by Red Hat. All rights reserved.