Class BrokerStatusImpl.BrokerStatusImplBuilder
java.lang.Object
org.apache.pulsar.common.policies.data.impl.BrokerStatusImpl.BrokerStatusImplBuilder
- All Implemented Interfaces:
BrokerStatus.Builder
- Enclosing class:
- BrokerStatusImpl
public static class BrokerStatusImpl.BrokerStatusImplBuilder
extends Object
implements BrokerStatus.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactive
(boolean active) brokerAddress
(String brokerAddress) build()
loadFactor
(int loadFactor)
-
Constructor Details
-
BrokerStatusImplBuilder
public BrokerStatusImplBuilder()
-
-
Method Details
-
brokerAddress
- Specified by:
brokerAddress
in interfaceBrokerStatus.Builder
-
active
- Specified by:
active
in interfaceBrokerStatus.Builder
-
loadFactor
- Specified by:
loadFactor
in interfaceBrokerStatus.Builder
-
build
- Specified by:
build
in interfaceBrokerStatus.Builder
-