Skip navigation links
A C D E F G H I J K L M N O P R S T V W 

A

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.

C

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

D

Data - Interface in com.yahoo.processing.response
A data item created due to a processing request.
data - Variable in class com.yahoo.processing.Response
 
data() - Method in class com.yahoo.processing.Response
Returns the top level list of data items of this response
dataList - Variable in class com.yahoo.processing.response.ArrayDataList
 
DataList<DATATYPE extends Data> - Interface in com.yahoo.processing.response
A list of data items created due to a processing request.
dataList - Variable in class com.yahoo.processing.response.DefaultIncomingData
 
DefaultIncomingData<DATATYPE extends Data> - Class in com.yahoo.processing.response
The default incoming data implementation
DefaultIncomingData() - Constructor for class com.yahoo.processing.response.DefaultIncomingData
Creates an instance which must be assigned an owner after creation
DefaultIncomingData(DataList<DATATYPE>) - Constructor for class com.yahoo.processing.response.DefaultIncomingData
 
defaultResponse(Request) - Method in class com.yahoo.processing.execution.Execution
Creates the default response to return from this kind of execution when there are no further processors.
defaultResponse(Request) - Method in class com.yahoo.processing.execution.ExecutionWithResponse
 
delegate() - Method in class com.yahoo.processing.response.FutureResponse
 
detailedMessage - Variable in class com.yahoo.processing.request.ErrorMessage
 
drain(DataList<DATATYPE>) - Method in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
 
drain() - Method in class com.yahoo.processing.response.DefaultIncomingData
Get and remove all the data currently available in this.
drain() - Method in interface com.yahoo.processing.response.IncomingData
Get and remove all the data currently available in this
drain() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
 
DrainOnGetFuture(DataList<DATATYPE>) - Constructor for class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
 

E

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
 

F

first() - Method in class com.yahoo.processing.request.CompoundName
Returns the name before the first dot.
first(int) - Method in class com.yahoo.processing.request.CompoundName
Returns the first n components of this.
forceTimestamps - Variable in class com.yahoo.processing.execution.Execution.Trace
If true, do timing logic, even though trace level is low.
foundValue - Variable in class com.yahoo.processing.execution.Execution.Trace.PropertyValueVisitor
 
foundValue() - Method in class com.yahoo.processing.execution.Execution.Trace.PropertyValueVisitor
 
freeze() - Method in class com.yahoo.processing.response.ArrayDataList
Irreversibly prevent further changes to the items of this.
freezeListenerKey - Static variable in class com.yahoo.processing.Response
 
fromComponents(String...) - Static method in class com.yahoo.processing.request.CompoundName
Constructs this from an array of name components which are assumed not to contain dots
FutureResponse - Class in com.yahoo.processing.response
A processing response which will arrive in the future.
FutureResponse(Callable<Response>, Execution, Request) - Constructor for class com.yahoo.processing.response.FutureResponse
 
futures - Variable in class com.yahoo.processing.Response.CompleteAllOnGetFuture
 
futureTask - Variable in class com.yahoo.processing.response.FutureResponse
 

G

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
 

H

hashCode - Variable in class com.yahoo.processing.request.CompoundName
A hashcode which is always derived from the compounds (NEVER the string)
hashCode() - Method in class com.yahoo.processing.request.CompoundName
 
hashCode() - Method in class com.yahoo.processing.request.ErrorMessage
 
hasPrefix(CompoundName) - Method in class com.yahoo.processing.request.CompoundName
Returns whether the given name is a prefix of this.

I

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.

J

JDISC_REQUEST - Static variable in class com.yahoo.processing.Request
The name of the request property used in the processing framework to store the incoming JDisc request.

K

key - Variable in class com.yahoo.processing.execution.Execution.Trace.LogValue
 

L

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
 

M

markComplete() - Method in class com.yahoo.processing.response.DefaultIncomingData
Mark this as completed and notify any listeners
markComplete() - Method in interface com.yahoo.processing.response.IncomingData
Mark this as completed and notify any listeners.
markComplete() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
Do nothing as this is already complete
mergeWith(Response) - Method in class com.yahoo.processing.Response
Processors which merges another request into this must call this method to notify the response.
message - Variable in class com.yahoo.processing.request.ErrorMessage
 

N

name - Variable in class com.yahoo.processing.execution.Execution.Trace.PropertyValueVisitor
The name of the property to find
name - Variable in class com.yahoo.processing.request.CompoundName
The string name of this compound.
nested() - Method in class com.yahoo.processing.execution.Execution.Environment
Returns an environment for an execution spawned from the execution having this environment.
newDataListeners - Variable in class com.yahoo.processing.response.DefaultIncomingData
 
next() - Method in class com.yahoo.processing.execution.Execution
Returns the next searcher to be invoked in this chain, or null if we are at the last
nextIndex() - Method in class com.yahoo.processing.execution.Execution
Returns the index into the chain of processors which is currently next
nextProcessor() - Method in class com.yahoo.processing.execution.Execution
Move this execution to the next processor
notifyDataListeners() - Method in class com.yahoo.processing.response.DefaultIncomingData
 
NullIncomingData(DataList<DATATYPE>) - Constructor for class com.yahoo.processing.response.IncomingData.NullIncomingData
 

O

objectArrayClone(Object[]) - Method in class com.yahoo.processing.request.CloneHelper
 
objectClone(Object) - Method in class com.yahoo.processing.request.CloneHelper
 
onInvoking(Request, Processor) - Method in class com.yahoo.processing.execution.Execution
A hook called when a processor is to be invoked.
onReturning(Request, Processor, Response) - Method in class com.yahoo.processing.execution.Execution
A hook called when a processor returns, either normally or by throwing.
ordered - Variable in class com.yahoo.processing.response.AbstractDataList
 
Ordered - Interface in com.yahoo.processing.response
This is an optional marker interface.
owner - Variable in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
 
owner - Variable in class com.yahoo.processing.response.DefaultIncomingData
 
owner - Variable in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
 
owner - Variable in class com.yahoo.processing.response.IncomingData.NullIncomingData
 

P

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.

R

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
 

S

set(int, String) - Method in class com.yahoo.processing.request.CompoundName
Returns a compound which have the name component at index i set to the given name.
set(CompoundName, Object, Map<String, String>) - Method in class com.yahoo.processing.request.properties.PropertyMap
 
set(CompoundName, Object, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
Sets a value to the first chained instance which accepts it.
set(String, Object, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
Sets a value to the first chained instance which accepts it.
set(CompoundName, Object) - Method in class com.yahoo.processing.request.Properties
Sets a value to the first chained instance which accepts it by calling set(name,value,null).
set(String, Object) - Method in class com.yahoo.processing.request.Properties
Sets a value to the first chained instance which accepts it by calling set(name,value,null).
setForceTimestamps(boolean) - Method in class com.yahoo.processing.execution.Execution.Trace
 
setProperty(String, Object) - Method in class com.yahoo.processing.execution.Execution.Trace
Adds a property key-value to this trace.
setResponse(Response) - Method in interface com.yahoo.processing.execution.ResponseReceiver
 
setTraceLevel(int) - Method in class com.yahoo.processing.execution.Execution.Trace
Sets the maximum trace level this will record
shouldSet(CompoundName, Object) - Method in class com.yahoo.processing.request.properties.PropertyMap
Return true if this value should be set in this map, false if the set should be propagated instead This default implementation always returns true.
size() - Method in class com.yahoo.processing.request.CompoundName
Returns the number of compound elements in this.
streamed - Variable in class com.yahoo.processing.response.AbstractDataList
 
Streamed - Interface in com.yahoo.processing.response
This is an optional marker interface.

T

threadFactory - Static variable in class com.yahoo.processing.execution.AsyncExecution
 
timestamp(int, boolean) - Static method in class com.yahoo.processing.execution.Execution.Trace
 
toCompoundString(List<String>) - Static method in class com.yahoo.processing.request.CompoundName
 
toString() - Method in class com.yahoo.processing.execution.Execution
 
toString() - Method in class com.yahoo.processing.execution.Execution.Trace.LogValue
 
toString() - Method in class com.yahoo.processing.execution.Execution.Trace
Returns a short string description of this
toString() - Method in class com.yahoo.processing.request.CompoundName
Returns the string representation of this - all the name components in order separated by dots.
toString() - Method in class com.yahoo.processing.request.ErrorMessage
Returns a formatted message containing the information in this
toString() - Method in class com.yahoo.processing.response.AbstractDataList
 
toString() - Method in class com.yahoo.processing.response.DefaultIncomingData
 
toString() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData
 
trace - Variable in class com.yahoo.processing.execution.Execution
 
trace() - Method in class com.yahoo.processing.execution.Execution
 
Trace(int, TraceNode, boolean) - Constructor for class com.yahoo.processing.execution.Execution.Trace
Creates a new instance by assigning the internal state of this directly
trace(String, int) - Method in class com.yahoo.processing.execution.Execution.Trace
Adds a trace message to this trace, if this trace has at most the given trace level
traceLevel - Variable in class com.yahoo.processing.execution.Execution.Trace
The highest level of tracing this should record
traceNode - Variable in class com.yahoo.processing.execution.Execution.Trace
The node in the trace tree capturing this execution
traceNode() - Method in class com.yahoo.processing.execution.Execution.Trace
Returns the trace node peer of this

V

value - Variable in enum com.yahoo.processing.execution.Execution.Trace.Level
The smallest trace level at which this information will be traced
value() - Method in enum com.yahoo.processing.execution.Execution.Trace.Level
 
value - Variable in class com.yahoo.processing.execution.Execution.Trace.LogValue
 
valueOf(String) - Static method in enum com.yahoo.processing.execution.Execution.Trace.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.yahoo.processing.execution.Execution.Trace.Level
Returns an array containing the constants of this enum type, in the order they are declared.
visit(TraceNode) - Method in class com.yahoo.processing.execution.Execution.Trace.PropertyValueVisitor
 

W

waitForAll(Collection<FutureResponse>, long) - Static method in class com.yahoo.processing.execution.AsyncExecution
 
A C D E F G H I J K L M N O P R S T V W 
Skip navigation links

Copyright © 2018. All rights reserved.