Package com.yahoo.processing.test
Class ProcessorLibrary.ListenableFutureDataSource
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.processing.test.ProcessorLibrary.ListenableFutureDataSource
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
- Enclosing class:
- ProcessorLibrary
public static class ProcessorLibrary.ListenableFutureDataSource extends Processor
Allows waiting for that request to happen.
-
-
Field Summary
Fields Modifier and Type Field Description CompletableFuture<IncomingData>
incomingData
The incoming data this has created
-
Constructor Summary
Constructors Constructor Description ListenableFutureDataSource()
Create an instance which returns ordered, streamable dataListenableFutureDataSource(boolean ordered, boolean streamed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
process(Request request, Execution execution)
Performs a processing request and returns the response-
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
-
-
-
-
Field Detail
-
incomingData
public final CompletableFuture<IncomingData> incomingData
The incoming data this has created
-
-