Interface MessageProcessorsFactory
- All Known Implementing Classes:
ProcessorsV1Factory
,ProcessorsV2Factory
public interface MessageProcessorsFactory
A factory that creates a
List
of MessagesProcessor
that
implement a protocol version.- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(Connection connection, com.arpnetworking.metrics.incubator.PeriodicMetrics metrics) Create a list ofMessagesProcessor
that define a protocol.
-
Method Details
-
create
List<MessagesProcessor> create(Connection connection, com.arpnetworking.metrics.incubator.PeriodicMetrics metrics) Create a list ofMessagesProcessor
that define a protocol.- Parameters:
connection
- the connection context to use for message processingmetrics
-PeriodicMetrics
instance to record metrics to- Returns:
- a list of
MessagesProcessor
-