Class ProcessorLibrary.AsyncDataProcessingInitiator

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
com.yahoo.processing.Processor
com.yahoo.processing.test.ProcessorLibrary.AsyncDataProcessingInitiator
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>
Enclosing class:
ProcessorLibrary

public static class ProcessorLibrary.AsyncDataProcessingInitiator extends Processor
Registers an async processing of the chain given in the constructor on completion of the data in the response
  • Constructor Details

    • AsyncDataProcessingInitiator

      public AsyncDataProcessingInitiator(Chain<Processor> asyncChain)
  • Method Details

    • 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