Interface ConnectionSemaphore
-
- All Known Implementing Classes:
CombinedConnectionSemaphore
,MaxConnectionSemaphore
,NoopConnectionSemaphore
,PerHostConnectionSemaphore
public interface ConnectionSemaphore
Connections limiter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acquireChannelLock(Object partitionKey)
void
releaseChannelLock(Object partitionKey)
-
-
-
Method Detail
-
acquireChannelLock
void acquireChannelLock(Object partitionKey) throws IOException
- Throws:
IOException
-
releaseChannelLock
void releaseChannelLock(Object partitionKey)
-
-