Class ResourceQuota

java.lang.Object
org.apache.pulsar.common.policies.data.ResourceQuota

public class ResourceQuota extends Object
Resource quota for a namespace or namespace bundle.
  • Constructor Details

    • ResourceQuota

      public ResourceQuota()
  • Method Details

    • getDynamic

      public boolean getDynamic()
    • add

      public void add(ResourceQuota quota)
      Add quota.
      Parameters:
      quota - ResourceQuota to add
    • substract

      public void substract(ResourceQuota quota)
      Substract quota.
      Parameters:
      quota - ResourceQuota to substract