Package io.atomix.primitive.protocol
Interface PrimitiveProtocolTypeRegistry
public interface PrimitiveProtocolTypeRegistry
Primitive protocol type registry.
-
Method Summary
Modifier and Type Method Description PrimitiveProtocol.TypegetProtocolType(String type)Returns the protocol type for the given configuration.Collection<PrimitiveProtocol.Type>getProtocolTypes()Returns the collection of registered protocol types.
-
Method Details
-
getProtocolTypes
Collection<PrimitiveProtocol.Type> getProtocolTypes()Returns the collection of registered protocol types.- Returns:
- the collection of registered protocol types
-
getProtocolType
Returns the protocol type for the given configuration.- Parameters:
type- the type name for which to return the protocol type- Returns:
- the protocol type for the given configuration
-