Class ConcurrentLimitLayer

java.lang.Object
org.apache.opendal.Layer
org.apache.opendal.layer.ConcurrentLimitLayer

public class ConcurrentLimitLayer extends Layer
Users can control how many concurrent connections could be established between OpenDAL and underlying storage services.
See Also:
  • 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