public class ConcurrentLimitLayer
extends Layer
Users can control how many concurrent connections could be established between
OpenDAL and underlying storage services.
- See Also:
-
-
Constructor Summary
Constructors
Create a new ConcurrentLimitLayer will specify permits.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ConcurrentLimitLayer
public ConcurrentLimitLayer(long permits)
Create a new ConcurrentLimitLayer will specify permits.
- Parameters:
permits
- concurrent connections could be established
-
Method Details
-
layer
protected long layer(long nativeOp)
- Specified by:
layer
in class Layer