Class BookieAffinityGroupDataImpl.BookieAffinityGroupDataImplBuilder
java.lang.Object
org.apache.pulsar.common.policies.data.impl.BookieAffinityGroupDataImpl.BookieAffinityGroupDataImplBuilder
- All Implemented Interfaces:
BookieAffinityGroupData.Builder
- Enclosing class:
BookieAffinityGroupDataImpl
public static class BookieAffinityGroupDataImpl.BookieAffinityGroupDataImplBuilder
extends Object
implements BookieAffinityGroupData.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbookkeeperAffinityGroupPrimary
(String bookkeeperAffinityGroupPrimary) bookkeeperAffinityGroupSecondary
(String bookkeeperAffinityGroupSecondary) build()
-
Constructor Details
-
BookieAffinityGroupDataImplBuilder
public BookieAffinityGroupDataImplBuilder()
-
-
Method Details
-
bookkeeperAffinityGroupPrimary
public BookieAffinityGroupDataImpl.BookieAffinityGroupDataImplBuilder bookkeeperAffinityGroupPrimary(String bookkeeperAffinityGroupPrimary) - Specified by:
bookkeeperAffinityGroupPrimary
in interfaceBookieAffinityGroupData.Builder
-
bookkeeperAffinityGroupSecondary
public BookieAffinityGroupDataImpl.BookieAffinityGroupDataImplBuilder bookkeeperAffinityGroupSecondary(String bookkeeperAffinityGroupSecondary) - Specified by:
bookkeeperAffinityGroupSecondary
in interfaceBookieAffinityGroupData.Builder
-
build
- Specified by:
build
in interfaceBookieAffinityGroupData.Builder
-