Package io.hyperfoil.api.connection
Interface Connection
public interface Connection
-
Field Summary
Fields -
Method Summary
-
Field Details
-
CLOSED_EXCEPTION
-
SELF_CLOSED_EXCEPTION
-
-
Method Details
-
context
io.netty.channel.ChannelHandlerContext context() -
onAcquire
void onAcquire() -
isAvailable
boolean isAvailable() -
inFlight
int inFlight() -
close
void close()This is an external request to close the connection -
setClosed
void setClosed()Invoked by the pool when the connection got closed. -
isOpen
boolean isOpen() -
isClosed
boolean isClosed() -
host
String host()
-