Class BacklogQuotaImpl.BacklogQuotaImplBuilder
java.lang.Object
org.apache.pulsar.common.policies.data.impl.BacklogQuotaImpl.BacklogQuotaImplBuilder
- All Implemented Interfaces:
BacklogQuota.Builder
- Enclosing class:
- BacklogQuotaImpl
public static class BacklogQuotaImpl.BacklogQuotaImplBuilder
extends Object
implements BacklogQuota.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
limitSize
(long limitSize) limitTime
(int limitTime) retentionPolicy
(BacklogQuota.RetentionPolicy retentionPolicy)
-
Constructor Details
-
BacklogQuotaImplBuilder
public BacklogQuotaImplBuilder()
-
-
Method Details
-
limitSize
- Specified by:
limitSize
in interfaceBacklogQuota.Builder
-
limitTime
- Specified by:
limitTime
in interfaceBacklogQuota.Builder
-
retentionPolicy
public BacklogQuotaImpl.BacklogQuotaImplBuilder retentionPolicy(BacklogQuota.RetentionPolicy retentionPolicy) - Specified by:
retentionPolicy
in interfaceBacklogQuota.Builder
-
build
- Specified by:
build
in interfaceBacklogQuota.Builder
-