public interface BacklogQuota
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.
| Modifier and Type | Interface and Description |
|---|---|
static class |
BacklogQuota.BacklogQuotaType
Identifier to a backlog quota configuration (an instance of
BacklogQuota). |
static interface |
BacklogQuota.Builder |
static class |
BacklogQuota.RetentionPolicy
Enumeration type determines how to retain backlog against the resource shortages.
|
| Modifier and Type | Method and Description |
|---|---|
static BacklogQuota.Builder |
builder() |
long |
getLimitSize()
Gets quota limit in size.
|
int |
getLimitTime()
Gets quota limit in time.
|
BacklogQuota.RetentionPolicy |
getPolicy() |
long getLimitSize()
int getLimitTime()
BacklogQuota.RetentionPolicy getPolicy()
static BacklogQuota.Builder builder()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.