Interface BacklogQuota

  • All Known Implementing Classes:
    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.

    • Method Detail

      • getLimitSize

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

        int getLimitTime()
        Gets quota limit in time.
        Returns:
        quota limit in second