Package io.gatling.http.client.pool
Class ChannelPool
java.lang.Object
io.gatling.http.client.pool.ChannelPool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
closeIdleChannels
(long idleTimeoutNanos) void
flushClientIdChannelPoolPartitions
(long clientId) static boolean
isHttp2
(io.netty.channel.Channel channel) static void
markAsGoAway
(io.netty.channel.Channel channel) void
offer
(io.netty.channel.Channel channel) void
offerCoalescedChannel
(Set<String> subjectAlternativeNames, InetSocketAddress address, io.netty.channel.Channel channel, ChannelPoolKey key) io.netty.channel.Channel
poll
(ChannelPoolKey key) io.netty.channel.Channel
pollCoalescedChannel
(long clientId, String domain, List<InetSocketAddress> addresses) static void
registerHttp2Connection
(io.netty.channel.Channel channel, io.netty.handler.codec.http2.Http2Connection http2Connection) static void
registerPoolKey
(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
-