| Package | Description |
|---|---|
| org.apache.pulsar.common.policies |
Implementation of policies.
|
| org.apache.pulsar.common.policies.data |
Implementation of policies.
|
| org.apache.pulsar.common.policies.data.impl |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.common.policies.impl |
Implementation of policies.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
AutoFailoverPolicy.isBrokerAvailable(BrokerStatus brokerStatus)
Determine whether a broker is considered available or not.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
AutoFailoverPolicy.shouldFailoverToSecondary(SortedSet<BrokerStatus> brokerStatus)
Checks to see whether the new namespace ownership should be failed over to the secondary brokers.
|
| Modifier and Type | Method and Description |
|---|---|
BrokerStatus |
BrokerStatus.Builder.build() |
| Modifier and Type | Class and Description |
|---|---|
class |
BrokerStatusImpl
Information about the broker status.
|
| Modifier and Type | Method and Description |
|---|---|
int |
BrokerStatusImpl.compareTo(BrokerStatus other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MinAvailablePolicy.isBrokerAvailable(BrokerStatus brokerStatus) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MinAvailablePolicy.shouldFailoverToSecondary(SortedSet<BrokerStatus> primaryCandidates) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.