Class DelayedDeliveryPoliciesImpl.DelayedDeliveryPoliciesImplBuilder
java.lang.Object
org.apache.pulsar.common.policies.data.impl.DelayedDeliveryPoliciesImpl.DelayedDeliveryPoliciesImplBuilder
- All Implemented Interfaces:
DelayedDeliveryPolicies.Builder
- Enclosing class:
DelayedDeliveryPoliciesImpl
public static class DelayedDeliveryPoliciesImpl.DelayedDeliveryPoliciesImplBuilder
extends Object
implements DelayedDeliveryPolicies.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactive
(boolean active) build()
maxDeliveryDelayInMillis
(long maxDeliveryDelayInMillis) tickTime
(long tickTime)
-
Constructor Details
-
DelayedDeliveryPoliciesImplBuilder
public DelayedDeliveryPoliciesImplBuilder()
-
-
Method Details
-
tickTime
- Specified by:
tickTime
in interfaceDelayedDeliveryPolicies.Builder
-
active
- Specified by:
active
in interfaceDelayedDeliveryPolicies.Builder
-
maxDeliveryDelayInMillis
public DelayedDeliveryPoliciesImpl.DelayedDeliveryPoliciesImplBuilder maxDeliveryDelayInMillis(long maxDeliveryDelayInMillis) - Specified by:
maxDeliveryDelayInMillis
in interfaceDelayedDeliveryPolicies.Builder
-
build
- Specified by:
build
in interfaceDelayedDeliveryPolicies.Builder
-