Uses of Class
io.atomix.raft.RaftServer.Builder
Packages that use RaftServer.Builder
Package
Description
Provides classes and interfaces for managing Raft clients and servers.
Implementations of core Raft server interfaces.
-
Uses of RaftServer.Builder in io.atomix.raft
Methods in io.atomix.raft that return RaftServer.BuilderModifier and TypeMethodDescriptionstatic RaftServer.BuilderRaftServer.builder()Returns a new Raft server builder using the default host:port.static RaftServer.BuilderReturns a new Raft server builder.RaftServer.Builder.withElectionConfig(RaftElectionConfig electionConfig) RaftServer.Builder.withEntryValidator(EntryValidator entryValidator) RaftServer.Builder.withMembershipService(ClusterMembershipService membershipService) Sets the cluster membership service.RaftServer.Builder.withMeterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry) Sets the server name.RaftServer.Builder.withPartitionConfig(RaftPartitionConfig partitionConfig) RaftServer.Builder.withPartitionId(int partitionId) RaftServer.Builder.withProtocol(RaftServerProtocol protocol) Sets the server protocol.RaftServer.Builder.withStorage(RaftStorage storage) Sets the storage module.RaftServer.Builder.withThreadContextFactory(RaftThreadContextFactory threadContextFactory) Sets the threadContextFactory used to create raft threadContext -
Uses of RaftServer.Builder in io.atomix.raft.impl
Subclasses of RaftServer.Builder in io.atomix.raft.implModifier and TypeClassDescriptionstatic classDefault Raft server builder.