Class ProcessorsV1Factory
java.lang.Object
com.arpnetworking.metrics.proxy.models.protocol.v1.ProcessorsV1Factory
- All Implemented Interfaces:
MessageProcessorsFactory
Factory for creating all the processors needed to process a v1 message.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(Connection connection, com.arpnetworking.metrics.incubator.PeriodicMetrics metrics) Create a list ofMessagesProcessor
that define a protocol.
-
Constructor Details
-
ProcessorsV1Factory
public ProcessorsV1Factory()
-
-
Method Details
-
create
public List<MessagesProcessor> create(Connection connection, com.arpnetworking.metrics.incubator.PeriodicMetrics metrics) Description copied from interface:MessageProcessorsFactory
Create a list ofMessagesProcessor
that define a protocol.- Specified by:
create
in interfaceMessageProcessorsFactory
- Parameters:
connection
- the connection context to use for message processingmetrics
-PeriodicMetrics
instance to record metrics to- Returns:
- a list of
MessagesProcessor
-