接口 BacklogQuota

所有已知实现类:
BacklogQuotaImpl

public interface BacklogQuota
Unit of a backlog quota configuration for a scoped resource in a Pulsar instance.

A scoped resource is identified by a BacklogQuota.BacklogQuotaType enumeration type which is containing two attributes: limit representing a quota limit in bytes and policy for backlog retention policy.

  • 方法详细资料

    • getLimit

      @Deprecated long getLimit()
      已过时。
      Gets quota limit in size. Remains for compatible
      返回:
      quota limit in bytes
    • getLimitSize

      long getLimitSize()
      Gets quota limit in size.
      返回:
      quota limit in bytes
    • getLimitTime

      int getLimitTime()
      Gets quota limit in time.
      返回:
      quota limit in second
    • getPolicy

    • builder

      static BacklogQuota.Builder builder()