Interface ChannelPool
- All Superinterfaces:
AutoCloseable, Closeable
- All Known Implementing Classes:
FixedChannelPool, SimpleChannelPool
-
Method Summary
Modifier and TypeMethodDescriptionacquire()Acquire aChannelfrom thisChannelPool.Acquire aChannelfrom thisChannelPool.voidclose()Release aChannelback to thisChannelPool.Release aChannelback to thisChannelPool.
-
Method Details
-
acquire
-
acquire
-
release
-
release
-
close
void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-