Class SampleProcessor

java.lang.Object
com.github.eventmanager.processors.SampleProcessor
All Implemented Interfaces:
Processor

public class SampleProcessor extends Object implements Processor
  • Constructor Details

    • SampleProcessor

      public SampleProcessor(int sampleSize)
  • Method Details

    • processKV

      public String processKV(String event)
      Description copied from interface: Processor
      Processes a key-value formatted event.
      Specified by:
      processKV in interface Processor
      Parameters:
      event - the key-value formatted event string.
      Returns:
      the processed event string.
    • processJSON

      public String processJSON(String event)
      Description copied from interface: Processor
      Processes a JSON formatted event.
      Specified by:
      processJSON in interface Processor
      Parameters:
      event - the JSON formatted event string.
      Returns:
      the processed event string.
    • processXML

      public String processXML(String event)
      Description copied from interface: Processor
      Processes an XML formatted event.
      Specified by:
      processXML in interface Processor
      Parameters:
      event - the XML formatted event string.
      Returns:
      the processed event string.