Interface ClientChannelManager
- All Known Implementing Classes:
DefaultClientChannelManager
public interface ClientChannelManager
User: [email protected]
Date: 7/8/16
Time: 12:36 PM
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.util.concurrent.Promise<PooledConnection>
acquire
(io.netty.channel.EventLoop eventLoop) io.netty.util.concurrent.Promise<PooledConnection>
acquire
(io.netty.channel.EventLoop eventLoop, Object key, CurrentPassport passport, AtomicReference<com.netflix.zuul.discovery.DiscoveryResult> selectedServer, AtomicReference<? super InetAddress> selectedHostAddr) int
int
int
default void
void
init()
boolean
boolean
isCold()
boolean
release
(PooledConnection conn) boolean
remove
(PooledConnection conn) void
shutdown()
-
Method Details
-
init
void init() -
isAvailable
boolean isAvailable() -
getInflightRequestsCount
int getInflightRequestsCount() -
shutdown
void shutdown() -
gracefulShutdown
default void gracefulShutdown() -
release
-
acquire
-
acquire
io.netty.util.concurrent.Promise<PooledConnection> acquire(io.netty.channel.EventLoop eventLoop, Object key, CurrentPassport passport, AtomicReference<com.netflix.zuul.discovery.DiscoveryResult> selectedServer, AtomicReference<? super InetAddress> selectedHostAddr) -
isCold
boolean isCold() -
remove
-
getConnsInPool
int getConnsInPool() -
getConnsInUse
int getConnsInUse() -
getConfig
ConnectionPoolConfig getConfig()
-