Class NoopConnectionSemaphore
- java.lang.Object
-
- org.asynchttpclient.netty.channel.NoopConnectionSemaphore
-
- All Implemented Interfaces:
ConnectionSemaphore
public class NoopConnectionSemaphore extends Object implements ConnectionSemaphore
No-op implementation ofConnectionSemaphore
.
-
-
Constructor Summary
Constructors Constructor Description NoopConnectionSemaphore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acquireChannelLock(Object partitionKey)
void
releaseChannelLock(Object partitionKey)
-
-
-
Method Detail
-
acquireChannelLock
public void acquireChannelLock(Object partitionKey) throws IOException
- Specified by:
acquireChannelLock
in interfaceConnectionSemaphore
- Throws:
IOException
-
releaseChannelLock
public void releaseChannelLock(Object partitionKey)
- Specified by:
releaseChannelLock
in interfaceConnectionSemaphore
-
-