Package io.atomix.cluster.protocol
Interface GroupMembershipProtocol.Type<C extends GroupMembershipProtocolConfig>
- All Known Implementing Classes:
SwimMembershipProtocol.Type
- Enclosing interface:
GroupMembershipProtocol
public static interface GroupMembershipProtocol.Type<C extends GroupMembershipProtocolConfig>
extends NamedType
Group membership protocol type.
-
Method Summary
Modifier and TypeMethodDescriptionnewProtocol(C config, String actorSchedulerName) Creates a new instance of the protocol.
-
Method Details
-
newProtocol
Creates a new instance of the protocol.- Parameters:
config- the protocol configurationactorSchedulerName- the value for actor-scheduler to be set on MDC- Returns:
- the protocol instance
-