Interface GroupMembershipProtocol.Type<C extends GroupMembershipProtocolConfig>

All Superinterfaces:
Named, NamedType, Type
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 Type
    Method
    Description
    newProtocol(C config, String actorSchedulerName)
    Creates a new instance of the protocol.

    Methods inherited from interface io.atomix.utils.Named

    name

    Methods inherited from interface io.atomix.utils.Type

    name
  • Method Details

    • newProtocol

      GroupMembershipProtocol newProtocol(C config, String actorSchedulerName)
      Creates a new instance of the protocol.
      Parameters:
      config - the protocol configuration
      actorSchedulerName - the value for actor-scheduler to be set on MDC
      Returns:
      the protocol instance