- AbstractData - Class in com.yahoo.processing.response
-
Convenience superclass for implementations of data.
- AbstractData(Request) - Constructor for class com.yahoo.processing.response.AbstractData
-
Creates some data marked with the request that created it
- AbstractDataList<DATATYPE extends Data> - Class in com.yahoo.processing.response
-
A convenience superclass for dataList implementations which handles references to the request and to incoming data.
- AbstractDataList(Request) - Constructor for class com.yahoo.processing.response.AbstractDataList
-
Creates a simple data list which does not allow late incoming data
- AbstractDataList(Request, IncomingData<DATATYPE>) - Constructor for class com.yahoo.processing.response.AbstractDataList
-
Creates a simple data list which receives incoming data in the given instance
- AbstractDataList(Request, IncomingData<DATATYPE>, boolean, boolean) - Constructor for class com.yahoo.processing.response.AbstractDataList
-
Creates a simple data list which receives incoming data in the given instance
- AbstractDataList.DrainOnGetFuture<DATATYPE extends Data> - Class in com.yahoo.processing.response
-
- accept(VISITOR) - Method in class com.yahoo.processing.execution.Execution.Trace
-
Visits the entire trace tree
- add(DATATYPE) - Method in class com.yahoo.processing.response.ArrayDataList
-
- add(DATATYPE) - Method in interface com.yahoo.processing.response.DataList
-
Adds a child data item to this.
- add(DATATYPE) - Method in class com.yahoo.processing.response.DefaultIncomingData
-
Add new data without completing this
- add(List<DATATYPE>) - Method in class com.yahoo.processing.response.DefaultIncomingData
-
Add new data without completing this
- add(DATATYPE) - Method in interface com.yahoo.processing.response.IncomingData
-
Add new data without completing this
- add(List<DATATYPE>) - Method in interface com.yahoo.processing.response.IncomingData
-
Add new data without completing this.
- add(DATATYPE) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- add(List<DATATYPE>) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- addDataListener(Runnable) - Method in class com.yahoo.processing.response.ArrayDataList
-
- addDataListener(Runnable) - Method in interface com.yahoo.processing.response.DataList
-
Adds a listener which is invoked every time data is added to this list.
- addLast(DATATYPE) - Method in class com.yahoo.processing.response.DefaultIncomingData
-
Add new data and mark this as completed
- addLast(List<DATATYPE>) - Method in class com.yahoo.processing.response.DefaultIncomingData
-
Add new data and mark this as completed
- addLast(DATATYPE) - Method in interface com.yahoo.processing.response.IncomingData
-
Add new data and mark this as completed
- addLast(List<DATATYPE>) - Method in interface com.yahoo.processing.response.IncomingData
-
Add new data and mark this as completed
- addLast(DATATYPE) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- addLast(List<DATATYPE>) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- addNewDataListener(Runnable, Executor) - Method in class com.yahoo.processing.response.DefaultIncomingData
-
- addNewDataListener(Runnable, Executor) - Method in interface com.yahoo.processing.response.IncomingData
-
Add a listener which will be invoked every time new data is added to this.
- addNewDataListener(Runnable, Executor) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
Adds a new data listener to this - this is a no-op
as new data can never be added to this implementation.
- append(String) - Method in class com.yahoo.processing.request.CompoundName
-
Returns a compound name which has the given compound string appended to it
- append(CompoundName) - Method in class com.yahoo.processing.request.CompoundName
-
Returns a compound name which has the given compounds appended to it
- append(Throwable, StringBuilder) - Method in class com.yahoo.processing.request.ErrorMessage
-
- arrayClone(Object) - Method in class com.yahoo.processing.request.CloneHelper
-
- ArrayDataList<DATATYPE extends Data> - Class in com.yahoo.processing.response
-
A data list backed by an array.
- ArrayDataList(Request) - Constructor for class com.yahoo.processing.response.ArrayDataList
-
Creates a simple data list which does not allow late incoming data
- ArrayDataList(Request, IncomingData<DATATYPE>) - Constructor for class com.yahoo.processing.response.ArrayDataList
-
Creates a simple data list which receives incoming data in the given instance
- ArrayDataList(Request, IncomingData<DATATYPE>, boolean, boolean) - Constructor for class com.yahoo.processing.response.ArrayDataList
-
Creates a simple data list which receives incoming data in the given instance
- asBoolean(Object, boolean) - Method in class com.yahoo.processing.request.Properties
-
Converts a value to boolean - this will be true only if the value is either the empty string,
or any Object which has a toString which is case-insensitive equal to "true"
- asDouble(Object, Double) - Method in class com.yahoo.processing.request.Properties
-
- asInteger(Object, Integer) - Method in class com.yahoo.processing.request.Properties
-
- asList() - Method in class com.yahoo.processing.request.CompoundName
-
Returns an immutable list of the components of this
- asList() - Method in class com.yahoo.processing.response.ArrayDataList
-
Returns a reference to the list backing this.
- asList() - Method in interface com.yahoo.processing.response.DataList
-
Returns the content of this as a List.
- asLong(Object, Long) - Method in class com.yahoo.processing.request.Properties
-
- assignOwner(DataList<DATATYPE>) - Method in class com.yahoo.processing.response.DefaultIncomingData
-
Assigns the owner of this.
- asString(Object, String) - Method in class com.yahoo.processing.request.Properties
-
- AsyncExecution - Class in com.yahoo.processing.execution
-
Provides asynchronous execution of processing chains.
- AsyncExecution(Processor, Execution) - Constructor for class com.yahoo.processing.execution.AsyncExecution
-
Create an async execution of a single processor
- AsyncExecution(Chain<? extends Processor>, Execution) - Constructor for class com.yahoo.processing.execution.AsyncExecution
-
Create an async execution of a chain
- AsyncExecution(Execution) - Constructor for class com.yahoo.processing.execution.AsyncExecution
-
Creates an async execution from an existing execution.
- cancel(boolean) - Method in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
-
Returns false as this is not cancellable
- cancel(boolean) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
-
- cause - Variable in class com.yahoo.processing.request.ErrorMessage
-
- chain - Variable in class com.yahoo.processing.execution.Execution
-
- chain() - Method in class com.yahoo.processing.execution.Execution
-
Returns the chain this executes
- CHAIN - Static variable in class com.yahoo.processing.Request
-
The name of the chain of Processor instances which will be invoked when
executing a request.
- chain(Properties) - Method in class com.yahoo.processing.request.Properties
-
Sets the properties chained to this.
- chained - Variable in class com.yahoo.processing.request.Properties
-
- chained() - Method in class com.yahoo.processing.request.Properties
-
Returns the properties chained to this, or null if this is the last in the chain
- ChainRegistry<T extends com.yahoo.component.chain.ChainedComponent> - Class in com.yahoo.processing.execution.chain
-
A registry of chains
- ChainRegistry() - Constructor for class com.yahoo.processing.execution.chain.ChainRegistry
-
- chainRegistry - Variable in class com.yahoo.processing.execution.Execution.Environment
-
- chainRegistry() - Method in class com.yahoo.processing.execution.Execution.Environment
-
Returns the processing chain registry of this execution environment.
- clone() - Method in class com.yahoo.processing.Request
-
Returns a clone of this request.
- clone(Object) - Method in class com.yahoo.processing.request.CloneHelper
-
Clones this object if it is clonable, and the clone is public.
- clone() - Method in class com.yahoo.processing.request.ErrorMessage
-
- clone() - Method in class com.yahoo.processing.request.Properties
-
Clones this instance and recursively all chained instance.
- clone(Object) - Static method in class com.yahoo.processing.request.Properties
-
Clones this object if it is clonable, and the clone is public.
- clone() - Method in class com.yahoo.processing.request.properties.PropertyMap
-
- clone() - Method in interface com.yahoo.processing.request.properties.PublicCloneable
-
- CloneHelper - Class in com.yahoo.processing.request
-
Helps to deep clone complex objects
The following classes and their subclasses does have a fastpath
- com.yahoo.component.provider.FreezableClass
- com.yahoo.processing.request.properties.PublicCloneable BTW, this is the one you should implement too
if you want the fastpath.
- CloneHelper() - Constructor for class com.yahoo.processing.request.CloneHelper
-
- cloneHelper - Static variable in class com.yahoo.processing.request.Properties
-
- cloneMap(Map<CompoundName, Object>) - Method in class com.yahoo.processing.request.CloneHelper
-
Clones a map by deep cloning each value which is cloneable and shallow copying all other values.
- cloneMap(Map<CompoundName, Object>) - Static method in class com.yahoo.processing.request.Properties
-
Clones a map by deep cloning each value which is cloneable and shallow copying all other values.
- cloneMethodCache - Static variable in class com.yahoo.processing.request.CloneHelper
-
- code - Variable in class com.yahoo.processing.request.ErrorMessage
-
- collectCompletionFutures(DataList<D>, List<ListenableFuture<DataList<D>>>) - Static method in class com.yahoo.processing.Response
-
- com.yahoo.processing - package com.yahoo.processing
-
- com.yahoo.processing.execution - package com.yahoo.processing.execution
-
- com.yahoo.processing.execution.chain - package com.yahoo.processing.execution.chain
-
- com.yahoo.processing.request - package com.yahoo.processing.request
-
- com.yahoo.processing.request.properties - package com.yahoo.processing.request.properties
-
- com.yahoo.processing.response - package com.yahoo.processing.response
-
- complete() - Method in class com.yahoo.processing.response.AbstractDataList
-
- complete() - Method in interface com.yahoo.processing.response.DataList
-
Returns a future in which all incoming data in this has become available.
- complete - Variable in class com.yahoo.processing.response.DefaultIncomingData
-
If this is completed no more data can be added
- CompleteAllOnGetFuture(List<ListenableFuture<DataList<D>>>) - Constructor for class com.yahoo.processing.Response.CompleteAllOnGetFuture
-
- completed() - Method in class com.yahoo.processing.response.DefaultIncomingData
-
- completed() - Method in interface com.yahoo.processing.response.IncomingData
-
Returns a future in which all the incoming data that will be produced in this is available.
- completed() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- completedFuture - Variable in class com.yahoo.processing.response.AbstractDataList
-
- completionFuture - Variable in class com.yahoo.processing.response.DefaultIncomingData
-
- completionFuture - Variable in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- CompoundName - Class in com.yahoo.processing.request
-
An immutable compound name of the general form "a.bb.ccc",
where there can be any number of such compounds, including one or zero.
- CompoundName(String) - Constructor for class com.yahoo.processing.request.CompoundName
-
Constructs this from a string which may contains dot-separated components
- CompoundName(List<String>) - Constructor for class com.yahoo.processing.request.CompoundName
-
Constructs this from a list of compounds.
- CompoundName(String, List<String>) - Constructor for class com.yahoo.processing.request.CompoundName
-
Constructs this from a name with already parsed compounds.
- compounds - Variable in class com.yahoo.processing.request.CompoundName
-
- concat(String, String) - Method in class com.yahoo.processing.request.CompoundName
-
- create(Request) - Static method in class com.yahoo.processing.response.ArrayDataList
-
Creates a simple data list which does not allow late incoming data
- createAsync(Request) - Static method in class com.yahoo.processing.response.ArrayDataList
-
Creates an instance of this which supports incoming data through the default mechanism (DefaultIncomingData)
- createAsyncNonstreamed(Request) - Static method in class com.yahoo.processing.response.ArrayDataList
-
Creates an instance of this which supports incoming data through the default mechanism (DefaultIncomingData)
and where this data cannot be returned to clients until this is completed.
- createAsyncUnordered(Request) - Static method in class com.yahoo.processing.response.ArrayDataList
-
Creates an instance of this which supports incoming data through the default mechanism (DefaultIncomingData),
and where this data can be rendered in any order.
- createChild() - Method in class com.yahoo.processing.execution.Execution.Trace
-
Creates a trace node below a parent
- createEmpty() - Static method in class com.yahoo.processing.execution.Execution.Environment
-
Creates an empty environment.
- createExecutor() - Static method in class com.yahoo.processing.execution.AsyncExecution
-
- createRoot(Processor, int, Execution.Environment<? extends Processor>) - Static method in class com.yahoo.processing.execution.Execution
-
Creates an execution of a single processor which is not in the context of an existing execution
- createRoot(Chain<? extends Processor>, int, Execution.Environment<? extends Processor>) - Static method in class com.yahoo.processing.execution.Execution
-
Creates an execution which is not in the context of an existing execution
- createRoot(int) - Static method in class com.yahoo.processing.execution.Execution.Trace
-
Creates an empty root trace with a given level of tracing
- empty - Static variable in class com.yahoo.processing.request.CompoundName
-
The empty compound
- environment - Variable in class com.yahoo.processing.execution.Execution
-
- environment() - Method in class com.yahoo.processing.execution.Execution
-
- Environment(ChainRegistry<COMPONENT>) - Constructor for class com.yahoo.processing.execution.Execution.Environment
-
Creates a new environment
- equals(Object) - Method in class com.yahoo.processing.request.CompoundName
-
- equals(Object) - Method in class com.yahoo.processing.request.ErrorMessage
-
Two error messages are equal if they have the same code and message.
- ErrorMessage - Class in com.yahoo.processing.request
-
An error encountered while processing a request.
- ErrorMessage(String) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(int, String) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(String, String) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(int, String, String) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(String, Throwable) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(int, String, Throwable) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(String, String, Throwable) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- ErrorMessage(int, String, String, Throwable) - Constructor for class com.yahoo.processing.request.ErrorMessage
-
Creates an error
- errors - Variable in class com.yahoo.processing.Request
-
The errors encountered while processing this request
- errors() - Method in class com.yahoo.processing.Request
-
Returns the list of errors encountered while processing this request, never null.
- exception - Variable in class com.yahoo.processing.execution.RunnableExecution
-
- execution - Variable in class com.yahoo.processing.execution.AsyncExecution
-
The execution of this
- Execution - Class in com.yahoo.processing.execution
-
An execution of a chain.
- Execution(Processor, Execution) - Constructor for class com.yahoo.processing.execution.Execution
-
Creates an execution of a single processor
- Execution(Chain<? extends Processor>, Execution) - Constructor for class com.yahoo.processing.execution.Execution
-
Creates an execution of a chain
- Execution(Execution) - Constructor for class com.yahoo.processing.execution.Execution
-
Creates an execution from another.
- Execution(Chain<? extends Processor>, int, Execution.Trace, Execution.Environment<? extends Processor>) - Constructor for class com.yahoo.processing.execution.Execution
-
Creates a new execution by setting the internal state directly.
- execution - Variable in class com.yahoo.processing.execution.RunnableExecution
-
- execution - Variable in class com.yahoo.processing.response.FutureResponse
-
Only used for generating messages
- Execution.Environment<COMPONENT extends Processor> - Class in com.yahoo.processing.execution
-
Holds the static execution environment for the duration of an execution
- Execution.Trace - Class in com.yahoo.processing.execution
-
Tre trace of this execution.
- Execution.Trace.Level - Enum in com.yahoo.processing.execution
-
Defines what information is added at which trace level
- Execution.Trace.LogValue - Class in com.yahoo.processing.execution
-
An immutable access log value added to the trace
- Execution.Trace.PropertyValueVisitor - Class in com.yahoo.processing.execution
-
Visits all trace nodes to collect the last set value of a particular property in a trace tree
- ExecutionWithResponse - Class in com.yahoo.processing.execution
-
An execution which has a response which is returned when this gets to the end of the chain.
- ExecutionWithResponse(Chain<? extends Processor>, Response, Execution) - Constructor for class com.yahoo.processing.execution.ExecutionWithResponse
-
Creates an execution which will return a given response at the end of the chain.
- executorMain - Static variable in class com.yahoo.processing.execution.AsyncExecution
-
- get(int) - Method in class com.yahoo.processing.request.CompoundName
-
Returns the compound element as the given index
- get(CompoundName, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value which (if necessary) is resolved using a property context.
- get(String, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value which (if necessary) is resolved using a property context
- get(CompoundName, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value from the first chained instance which has one by calling get(name,context,this)
- get(String, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value from the first chained instance which has one by calling get(name,context,this)
- get(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value from the first chained instance which has one by calling get(name,null,this)
- get(String) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value from the first chained instance which has one by calling get(name,null,this)
- get(CompoundName, Object) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value from the first chained instance which has one,
or the default value if no value is set, or if the first value encountered is explicitly set to null.
- get(String, Object) - Method in class com.yahoo.processing.request.Properties
-
Gets a named value from the first chained instance which has one,
or the default value if no value is set, or if the first value encountered is explicitly set to null.
- get(CompoundName, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.properties.PropertyMap
-
- get() - Method in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
-
Wait until all data is available.
- get(long, TimeUnit) - Method in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
-
Wait until all data is available.
- get(int) - Method in class com.yahoo.processing.response.ArrayDataList
-
Returns the data element at index
- get() - Method in class com.yahoo.processing.Response.CompleteAllOnGetFuture
-
- get(long, TimeUnit) - Method in class com.yahoo.processing.Response.CompleteAllOnGetFuture
-
- get(int) - Method in interface com.yahoo.processing.response.DataList
-
- get() - Method in class com.yahoo.processing.response.FutureResponse
-
- get(long, TimeUnit) - Method in class com.yahoo.processing.response.FutureResponse
-
- get() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
-
- get(long, TimeUnit) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
-
- getBoolean(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Gets a property as a boolean - if this value can reasonably be interpreted as a boolean, this will return
the value.
- getBoolean(String) - Method in class com.yahoo.processing.request.Properties
-
Gets a property as a boolean - if this value can reasonably be interpreted as a boolean, this will return
the value.
- getBoolean(CompoundName, boolean) - Method in class com.yahoo.processing.request.Properties
-
Gets a property as a boolean.
- getBoolean(String, boolean) - Method in class com.yahoo.processing.request.Properties
-
Gets a property as a boolean.
- getCause() - Method in class com.yahoo.processing.request.ErrorMessage
-
Returns the throwable associated with this error, or null if none
- getCode() - Method in class com.yahoo.processing.request.ErrorMessage
-
Returns the code of this message, or 0 if no code is set
- getDetailedMessage() - Method in class com.yahoo.processing.request.ErrorMessage
-
Returns detailed information about this error, or null if there is no detailed message
- getDouble(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Double
- getDouble(String) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Double
- getDouble(CompoundName, Double) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Double
- getDouble(String, Double) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Double
- getException() - Method in class com.yahoo.processing.execution.RunnableExecution
-
Returns the exception from executing this, or null if response is set or run() has not been called yet
- getForceTimestamps() - Method in class com.yahoo.processing.execution.Execution.Trace
-
- getFuture(Callable<T>) - Static method in class com.yahoo.processing.execution.AsyncExecution
-
- getFutureResponse(Callable<Response>, Request) - Method in class com.yahoo.processing.execution.AsyncExecution
-
- getInstance(Class<T>) - Method in class com.yahoo.processing.request.Properties
-
Returns the first instance of the given class in this chain, or null if none
- getInteger(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as an Integer
- getInteger(String) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as an Integer
- getInteger(CompoundName, Integer) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as an Integer
- getInteger(String, Integer) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as an Integer
- getKey() - Method in class com.yahoo.processing.execution.Execution.Trace.LogValue
-
- getLong(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Long
- getLong(String) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Long
- getLong(CompoundName, Long) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Long
- getLong(String, Long) - Method in class com.yahoo.processing.request.Properties
-
Returns a property as a Long
- getLowerCasedName() - Method in class com.yahoo.processing.request.CompoundName
-
- getMessage() - Method in class com.yahoo.processing.request.ErrorMessage
-
Returns the error message, never null
- getMessage(Throwable) - Static method in class com.yahoo.processing.request.ErrorMessage
-
Returns a useful message from *this* exception, or null if none
- getOwner() - Method in class com.yahoo.processing.response.DefaultIncomingData
-
- getOwner() - Method in interface com.yahoo.processing.response.IncomingData
-
Returns the owner (target DataList) of this.
- getOwner() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
- getProperty(String) - Method in class com.yahoo.processing.execution.Execution.Trace
-
Returns a property set anywhere in the trace tree this points to.
- getRequest() - Method in class com.yahoo.processing.response.FutureResponse
-
Returns the query used in this execution, never null
- getResponse() - Method in class com.yahoo.processing.execution.RunnableExecution
-
Returns the response from executing this, or null if exception is set or run() has not been called yet
- getString(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Returns this property as a string
- getString(String) - Method in class com.yahoo.processing.request.Properties
-
Returns this property as a string
- getString(CompoundName, String) - Method in class com.yahoo.processing.request.Properties
-
Returns this property as a string
- getString(String, String) - Method in class com.yahoo.processing.request.Properties
-
Returns this property as a string
- getTaskResponse(FutureResponse) - Static method in class com.yahoo.processing.execution.AsyncExecution
-
- getTraceLevel() - Method in class com.yahoo.processing.execution.Execution.Trace
-
Returns the maximum trace level this will record
- getValue() - Method in class com.yahoo.processing.execution.Execution.Trace.LogValue
-
- ImmediateFuture(DataList<DATATYPE>) - Constructor for class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
-
- includes(int) - Method in enum com.yahoo.processing.execution.Execution.Trace.Level
-
Returns whether this level includes the given level, i.e whether traceLevel is this.value() or more
- incoming() - Method in class com.yahoo.processing.response.AbstractDataList
-
Returns the holder of incoming data to this.
- incoming() - Method in interface com.yahoo.processing.response.DataList
-
Returns the buffer of incoming/future data to this list.
- incomingData - Variable in class com.yahoo.processing.response.AbstractDataList
-
The recipient of incoming data to this.
- IncomingData<DATATYPE extends Data> - Interface in com.yahoo.processing.response
-
A data list own once instance of this which can be used to provide data asynchronously to the list,
and consume, wait for or be notified upon the arrival of such data.
- IncomingData.NullIncomingData<DATATYPE extends Data> - Class in com.yahoo.processing.response
-
Creates a null implementation of this which is empty and complete at creation:
Provides immediate return without incurring any memory synchronization for
any read method.
- IncomingData.NullIncomingData.ImmediateFuture<DATATYPE extends Data> - Class in com.yahoo.processing.response
-
A future which is always done and incurs no synchronization.
- isCancelled() - Method in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
-
Returns false as this is not cancellable
- isCancelled() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
-
- isComplete() - Method in class com.yahoo.processing.response.DefaultIncomingData
-
Returns whether the data in this is complete
- isComplete() - Method in interface com.yahoo.processing.response.IncomingData
-
Returns whether this is complete
- isComplete() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
-
Returns true
- isCompound() - Method in class com.yahoo.processing.request.CompoundName
-
Returns whether this name has more than one element
- isDone() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
-
- isEmpty() - Method in class com.yahoo.processing.request.CompoundName
-
- isOrdered() - Method in class com.yahoo.processing.response.AbstractDataList
-
- isOrdered() - Method in interface com.yahoo.processing.response.Ordered
-
Returns false if the data in this list can be returned in any order.
- isStreamed() - Method in class com.yahoo.processing.response.AbstractDataList
-
- isStreamed() - Method in interface com.yahoo.processing.response.Streamed
-
Returns false if the data in this list can not be returned until it is completed.
- last() - Method in class com.yahoo.processing.request.CompoundName
-
Returns the name after the last dot.
- Level(int) - Constructor for enum com.yahoo.processing.execution.Execution.Trace.Level
-
- listProperties() - Method in class com.yahoo.processing.request.Properties
-
Lists all properties of this with no context, by delegating to listProperties("")
- listProperties(Map<String, String>) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties of this - same as listProperties("",context)
- listProperties(CompoundName) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties by calling listProperties(path,null)
- listProperties(String) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties by calling listProperties(path,null)
- listProperties(CompoundName, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties by calling listProperties(path,null)
- listProperties(String, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties by calling listProperties(path,null)
- listProperties(CompoundName, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties of this having a given path prefix
- listProperties(String, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.Properties
-
Returns a snapshot of all properties of this having a given path prefix
- listProperties(CompoundName, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.properties.PropertyMap
-
- log - Static variable in class com.yahoo.processing.request.CloneHelper
-
- log - Static variable in class com.yahoo.processing.response.FutureResponse
-
- logValue(String, String) - Method in class com.yahoo.processing.execution.Execution.Trace
-
Adds a key-value which will be logged to the access log of this request.
- LogValue(String, String) - Constructor for class com.yahoo.processing.execution.Execution.Trace.LogValue
-
- logValueIterator() - Method in class com.yahoo.processing.execution.Execution.Trace
-
Returns the values that should be written to the access log set in the entire trace node tree
- lowerCasedName - Variable in class com.yahoo.processing.request.CompoundName
-
- parse(String) - Static method in class com.yahoo.processing.request.CompoundName
-
- prepend(String...) - Method in class com.yahoo.processing.request.CompoundName
-
Returns a compound name which has the given name components prepended to this name,
in the given order, i.e new ComponentName("c").prepend("a","b") will yield "a.b.c".
- previousProcessor() - Method in class com.yahoo.processing.execution.Execution
-
Move this execution to the previous processor
- process(Request) - Method in class com.yahoo.processing.execution.AsyncExecution
-
Performs an async processing.
- process(Request) - Method in class com.yahoo.processing.execution.Execution
-
Calls process on the next processor in this chain.
- process(Request, Execution) - Method in class com.yahoo.processing.Processor
-
Performs a processing request and returns the response
- Processor - Class in com.yahoo.processing
-
Superclass of chainable components processing Requests to create Responses.
- Processor() - Constructor for class com.yahoo.processing.Processor
-
- processorIndex - Variable in class com.yahoo.processing.execution.Execution
-
The index of the searcher in the chain which should be executed on the next call
An Execution instance contains the state of a chain execution by
providing a class stack for a chain - when a processor is called
(through this), it will increment the index of the processor to call next,
each time a processor returns (regardless of how) it will do the opposite.
- Properties - Class in com.yahoo.processing.request
-
The properties of a request
- Properties() - Constructor for class com.yahoo.processing.request.Properties
-
- properties - Variable in class com.yahoo.processing.Request
-
- properties() - Method in class com.yahoo.processing.Request
-
Returns the properties set on this request.
- properties - Variable in class com.yahoo.processing.request.properties.PropertyMap
-
The properties of this
- PropertyMap - Class in com.yahoo.processing.request.properties
-
A HashMap backing of Properties.
- PropertyMap() - Constructor for class com.yahoo.processing.request.properties.PropertyMap
-
- PropertyValueVisitor(String) - Constructor for class com.yahoo.processing.execution.Execution.Trace.PropertyValueVisitor
-
- PublicCloneable<T> - Interface in com.yahoo.processing.request.properties
-
This interface publicly exposes the clone method.
- recursiveComplete(DataList<D>) - Static method in class com.yahoo.processing.Response
-
Returns a future in which the given data list and all lists nested within it are completed.
- request - Variable in class com.yahoo.processing.execution.RunnableExecution
-
- Request - Class in com.yahoo.processing
-
A generic processing request.
- Request() - Constructor for class com.yahoo.processing.Request
-
Creates a request with no properties
- Request(Properties) - Constructor for class com.yahoo.processing.Request
-
Create a request with the given properties.
- request - Variable in class com.yahoo.processing.response.AbstractData
-
- request() - Method in class com.yahoo.processing.response.AbstractData
-
Returns the request that created this data
- request - Variable in class com.yahoo.processing.response.AbstractDataList
-
The request which caused this to be created
- request() - Method in class com.yahoo.processing.response.AbstractDataList
-
Returns the request which created this data
- request() - Method in interface com.yahoo.processing.response.Data
-
Returns the request that created this data
- request - Variable in class com.yahoo.processing.response.FutureResponse
-
- response - Variable in class com.yahoo.processing.execution.ExecutionWithResponse
-
- response - Variable in class com.yahoo.processing.execution.RunnableExecution
-
- Response - Class in com.yahoo.processing
-
A Response to a Request.
- Response(Request) - Constructor for class com.yahoo.processing.Response
-
Creates a request containing an empty array data list
- Response(DataList<?>) - Constructor for class com.yahoo.processing.Response
-
Creates a response containing a list of data
- Response(Request, ErrorMessage) - Constructor for class com.yahoo.processing.Response
-
Convenience constructor which adds the given error message to the given request
- Response.CompleteAllOnGetFuture<D extends Data> - Class in com.yahoo.processing
-
A future which on get calls get on all its given futures and sets the value returned from the
first given future as its result.
- ResponseReceiver - Interface in com.yahoo.processing.execution
-
An interface for classes which can be given responses.
- rest - Variable in class com.yahoo.processing.request.CompoundName
-
This name with the first component removed
- rest() - Method in class com.yahoo.processing.request.CompoundName
-
Returns the name after the first dot, or "" if this name has no dots
- rest(int) - Method in class com.yahoo.processing.request.CompoundName
-
Returns the name starting after the n first components (i.e dots).
- run() - Method in class com.yahoo.processing.execution.RunnableExecution
-
Calls process on the execution of this.
- RunnableExecution - Class in com.yahoo.processing.execution
-
An adaptor of an Execution to a runnable.
- RunnableExecution(Request, Execution) - Constructor for class com.yahoo.processing.execution.RunnableExecution
-