public class DefaultLeaderElectorBuilder extends LeaderElectorBuilder
LeaderElectorBuilder.| Constructor and Description |
|---|
DefaultLeaderElectorBuilder(DistributedPrimitiveCreator primitiveCreator) |
| Modifier and Type | Method and Description |
|---|---|
AsyncLeaderElector |
build()
Constructs an instance of the distributed primitive.
|
applicationId, executorSupplier, meteringEnabled, name, partitionsDisabled, readOnly, relaxedReadConsistency, serializer, type, withApplicationId, withExecutor, withExecutorSupplier, withMeteringDisabled, withName, withRelaxedReadConsistency, withSerializer, withUpdatesDisabledpublic DefaultLeaderElectorBuilder(DistributedPrimitiveCreator primitiveCreator)
public AsyncLeaderElector build()
DistributedPrimitiveBuilderbuild in class DistributedPrimitiveBuilder<LeaderElectorBuilder,AsyncLeaderElector>