| Package | Description |
|---|---|
| org.apache.pulsar.broker.service.persistent |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method and Description |
|---|---|
static DispatchRateLimiter.Type |
DispatchRateLimiter.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatchRateLimiter.Type[] |
DispatchRateLimiter.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.pulsar.common.policies.data.impl.DispatchRateImpl |
DispatchRateLimiter.getPoliciesDispatchRate(String cluster,
Optional<org.apache.pulsar.common.policies.data.Policies> policies,
DispatchRateLimiter.Type type) |
static Optional<org.apache.pulsar.common.policies.data.DispatchRate> |
DispatchRateLimiter.getTopicPolicyDispatchRate(BrokerService brokerService,
String topicName,
DispatchRateLimiter.Type type) |
static boolean |
DispatchRateLimiter.isDispatchRateNeeded(BrokerService brokerService,
Optional<org.apache.pulsar.common.policies.data.Policies> policies,
String topicName,
DispatchRateLimiter.Type type) |
static boolean |
DispatchRateLimiter.isDispatchRateNeeded(ServiceConfiguration serviceConfig,
Optional<org.apache.pulsar.common.policies.data.Policies> policies,
String topicName,
DispatchRateLimiter.Type type) |
| Constructor and Description |
|---|
DispatchRateLimiter(PersistentTopic topic,
DispatchRateLimiter.Type type) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.