Class ProcessorLibrary.LogValueAdder

  • All Implemented Interfaces:
    com.yahoo.component.Component, com.yahoo.component.Deconstructable, java.lang.Comparable<com.yahoo.component.Component>
    Enclosing class:
    ProcessorLibrary

    public static class ProcessorLibrary.LogValueAdder
    extends Processor
    Adds (key, value) to the log value trace.
    • Field Summary

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Constructor Summary

      Constructors 
      Constructor Description
      LogValueAdder​(java.lang.String key, java.lang.String value)  
    • Constructor Detail

      • LogValueAdder

        public LogValueAdder​(java.lang.String key,
                             java.lang.String value)
    • Method Detail

      • process

        public Response process​(Request request,
                                Execution execution)
        Description copied from class: Processor
        Performs a processing request and returns the response
        Specified by:
        process in class Processor
        Returns:
        a Response instance - never null - containing the data produced by this processor and those it forwards the request to