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 Type
    Method
    Description
    create(Connection connection, com.arpnetworking.metrics.incubator.PeriodicMetrics metrics)
    Create a list of MessagesProcessor that define a protocol.
  • Method Details

    • create

      List<MessagesProcessor> create(Connection connection, com.arpnetworking.metrics.incubator.PeriodicMetrics metrics)
      Create a list of MessagesProcessor that define a protocol.
      Parameters:
      connection - the connection context to use for message processing
      metrics - PeriodicMetrics instance to record metrics to
      Returns:
      a list of MessagesProcessor