Package io.gatling.http.client.pool
Class ChannelPool
java.lang.Object
io.gatling.http.client.pool.ChannelPool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseIdleChannels(long idleTimeoutNanos) voidflushClientIdChannelPoolPartitions(long clientId) static booleanisHttp2(io.netty.channel.Channel channel) static voidmarkAsGoAway(io.netty.channel.Channel channel) voidoffer(io.netty.channel.Channel channel) voidofferCoalescedChannel(Set<String> subjectAlternativeNames, InetSocketAddress address, io.netty.channel.Channel channel, ChannelPoolKey key) io.netty.channel.Channelpoll(ChannelPoolKey key) io.netty.channel.ChannelpollCoalescedChannel(long clientId, String domain, List<InetSocketAddress> addresses) static voidregisterHttp2Connection(io.netty.channel.Channel channel, io.netty.handler.codec.http2.Http2Connection http2Connection) static voidregisterPoolKey(io.netty.channel.Channel channel, ChannelPoolKey key) toString()
-
Constructor Details
-
ChannelPool
public ChannelPool()
-
-
Method Details
-
isHttp2
public static boolean isHttp2(io.netty.channel.Channel channel) -
registerPoolKey
-
registerHttp2Connection
public static void registerHttp2Connection(io.netty.channel.Channel channel, io.netty.handler.codec.http2.Http2Connection http2Connection) -
markAsGoAway
public static void markAsGoAway(io.netty.channel.Channel channel) -
poll
-
pollCoalescedChannel
public io.netty.channel.Channel pollCoalescedChannel(long clientId, String domain, List<InetSocketAddress> addresses) -
offerCoalescedChannel
public void offerCoalescedChannel(Set<String> subjectAlternativeNames, InetSocketAddress address, io.netty.channel.Channel channel, ChannelPoolKey key) -
offer
public void offer(io.netty.channel.Channel channel) -
closeIdleChannels
public void closeIdleChannels(long idleTimeoutNanos) -
flushClientIdChannelPoolPartitions
public void flushClientIdChannelPoolPartitions(long clientId) -
toString
-