A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages

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(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.DefaultIncomingData
Add new data without completing this
add(List<DATATYPE>) - Method in interface com.yahoo.processing.response.IncomingData
Add new data without completing this.
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(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.DefaultIncomingData
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(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(CompoundName) - Method in class com.yahoo.processing.request.CompoundName
Returns a compound name which has the given compounds appended to it
append(String) - Method in class com.yahoo.processing.request.CompoundName
Returns a compound name which has the given compound string appended to it
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
 
AsyncDataProcessingInitiator(Chain<Processor>) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.AsyncDataProcessingInitiator
 
AsyncExecution - Class in com.yahoo.processing.execution
Provides asynchronous execution of processing chains.
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.
AsyncExecution(Processor, Execution) - Constructor for class com.yahoo.processing.execution.AsyncExecution
Create an async execution of a single processor

B

BlockingSplitter(int) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.BlockingSplitter
 

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
 
chain() - Method in class com.yahoo.processing.execution.Execution
Returns the chain this executes
chain(Properties) - Method in class com.yahoo.processing.request.Properties
Sets the properties chained to this.
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.
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() - Method in class com.yahoo.processing.execution.Execution.Environment
Returns the processing chain registry of this execution environment.
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
 
clearAll(CompoundName) - Method in class com.yahoo.processing.request.Properties
Sets all properties having this name as a compound prefix to null.
clearAll(CompoundName, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
Sets all properties having this name as a compound prefix to null.
clearAll(String) - Method in class com.yahoo.processing.request.Properties
Sets all properties having this name as a compound prefix to null.
clearAll(String, Object, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
Sets all properties having this name as a compound prefix to null.
clone() - Method in class com.yahoo.processing.Request
Returns a clone of this request.
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() - Method in class com.yahoo.processing.request.properties.PropertyMap
 
clone() - Method in interface com.yahoo.processing.request.properties.PublicCloneable
 
clone(Object) - Method in class com.yahoo.processing.request.CloneHelper
Clones this object if it is clonable, and the clone is public.
clone(Object) - Static method in class com.yahoo.processing.request.Properties
Clones this object if it is clonable, and the clone is public.
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
 
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.
close() - Method in interface com.yahoo.processing.response.DataList
Notify this list that is will never be accessed again, neither for read nor write.
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
 
com.yahoo.processing.test - package com.yahoo.processing.test
 
CombineData() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.CombineData
 
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.
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
 
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.
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.
createRoot(int) - Static method in class com.yahoo.processing.execution.Execution.Trace
Creates an empty root trace with a given level of tracing
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(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

D

data() - Method in class com.yahoo.processing.Response
Returns the top level list of data items of this response
Data - Interface in com.yahoo.processing.response
A data item created due to a processing request.
DataCounter() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.DataCounter
 
DataCounter(String) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.DataCounter
The prefix "[name] " is prepended to the string data
DataList<DATATYPE extends Data> - Interface in com.yahoo.processing.response
A list of data items created due to a processing request.
DataSource() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.DataSource
 
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
 
Dependencies - com.yahoo.processing.execution.Execution.Trace.Level
The before/after dependencies of each processing step is traced on every invocation
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

EagerReturnFederator(boolean, Chain<? extends Processor>...) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.EagerReturnFederator
Federates over the given chains
EagerReturnFederator(Chain<? extends Processor>...) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.EagerReturnFederator
Federates over the given chains.
Echo(String) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.Echo
 
empty - Static variable in class com.yahoo.processing.request.CompoundName
The empty compound
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.
ErrorAdder(ErrorMessage) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.ErrorAdder
 
ErrorMessage - Class in com.yahoo.processing.request
An error encountered while processing a request.
ErrorMessage(int, 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(int, String, 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) - 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(String, String, Throwable) - 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
errors() - Method in class com.yahoo.processing.Request
Returns the list of errors encountered while processing this request, never null.
Execution - Class in com.yahoo.processing.execution
An execution of a chain.
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(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(Processor, Execution) - Constructor for class com.yahoo.processing.execution.Execution
Creates an execution of a single processor
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
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.

F

Federator(boolean, Chain<? extends Processor>...) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.Federator
Federates over the given chains
Federator(Chain<? extends Processor>...) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.Federator
Federates over the given chains.
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.
freeze() - Method in class com.yahoo.processing.response.ArrayDataList
Irreversibly prevent further changes to the items of this.
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
FutureDataSource() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.FutureDataSource
 
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
 

G

get() - Method in class com.yahoo.processing.response.AbstractDataList.DrainOnGetFuture
Wait until all data is available.
get() - Method in class com.yahoo.processing.response.FutureResponse
 
get() - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
 
get(int) - Method in class com.yahoo.processing.request.CompoundName
Returns the compound element as the given index
get(int) - Method in class com.yahoo.processing.response.ArrayDataList
Returns the data element at index
get(int) - Method in interface com.yahoo.processing.response.DataList
 
get(long, TimeUnit) - 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.FutureResponse
 
get(long, TimeUnit) - Method in class com.yahoo.processing.response.IncomingData.NullIncomingData.ImmediateFuture
 
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(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(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(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(CompoundName, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.properties.PropertyMap
 
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(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(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(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
Get6DataItems() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.Get6DataItems
 
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(CompoundName, boolean) - Method in class com.yahoo.processing.request.Properties
Gets a property as a boolean.
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(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(CompoundName, Double) - 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(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
 
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(CompoundName, Integer) - 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(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(CompoundName, Long) - 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(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
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(CompoundName, String) - 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(String, String) - Method in class com.yahoo.processing.request.Properties
Returns this property as a string
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() - 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.test.ProcessorLibrary.FutureDataSource
The list of incoming data this has created
incomingData - Variable in class com.yahoo.processing.test.ProcessorLibrary.ListenableFutureDataSource
The incoming data this has created
incomingData - Variable in class com.yahoo.processing.test.ProcessorLibrary.RequestCounter
The incoming data this has created
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.
isOrdered() - Method in class com.yahoo.processing.test.ProcessorLibrary.UnorderedArrayDataList
 
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.

L

last() - Method in class com.yahoo.processing.request.CompoundName
Returns the name after the last dot.
ListenableFutureDataSource() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.ListenableFutureDataSource
Create an instance which returns ordered, streamable data
ListenableFutureDataSource(boolean, boolean) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.ListenableFutureDataSource
 
listProperties() - Method in class com.yahoo.processing.request.Properties
Lists all properties of this with no context, by delegating to listProperties("")
listProperties(CompoundName) - 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(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(CompoundName, Map<String, String>, Properties) - Method in class com.yahoo.processing.request.properties.PropertyMap
 
listProperties(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(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(Map<String, String>) - Method in class com.yahoo.processing.request.Properties
Returns a snapshot of all properties of this - same as listProperties("",context)
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
 
LogValueAdder(String, String) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.LogValueAdder
 
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

M

map() - Method in class com.yahoo.processing.test.ProcessorLibrary.MapData
 
MapData(Request) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.MapData
 
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.

N

nested() - Method in class com.yahoo.processing.execution.Execution.Environment
Returns an environment for an execution spawned from the execution having this environment.
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
NullIncomingData(DataList<DATATYPE>) - Constructor for class com.yahoo.processing.response.IncomingData.NullIncomingData
 

O

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 - Interface in com.yahoo.processing.response
This is an optional marker interface.

P

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
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.AsyncDataProcessingInitiator
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.BlockingSplitter
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.CombineData
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.DataCounter
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.DataSource
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.EagerReturnFederator
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.Echo
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.ErrorAdder
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.Federator
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.FutureDataSource
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.Get6DataItems
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.ListenableFutureDataSource
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.LogValueAdder
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.RequestCounter
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.StatusSetter
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.StreamProcessingInitiator
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.StringDataAdder
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.StringDataListAdder
 
process(Request, Execution) - Method in class com.yahoo.processing.test.ProcessorLibrary.Trace
 
Processor - Class in com.yahoo.processing
Superclass of chainable components processing Requests to create Responses.
Processor() - Constructor for class com.yahoo.processing.Processor
 
ProcessorLibrary - Class in com.yahoo.processing.test
A collection of processors for test purposes.
ProcessorLibrary.AsyncDataProcessingInitiator - Class in com.yahoo.processing.test
Registers an async processing of the chain given in the constructor on completion of the data in the response
ProcessorLibrary.BlockingSplitter - Class in com.yahoo.processing.test
Multiples the amount of data returned by parallelism by performing parallel executions of the rest of the chain
ProcessorLibrary.CombineData - Class in com.yahoo.processing.test
Makes some modifications to the request, passes it on and finally removes one data item from the response
ProcessorLibrary.DataCounter - Class in com.yahoo.processing.test
Adds a data element containing the (recursive) count of concrete (non-list) data elements in the response
ProcessorLibrary.DataSource - Class in com.yahoo.processing.test
Produces 3 pieces of string data
ProcessorLibrary.EagerReturnFederator - Class in com.yahoo.processing.test
A federator which supports returning frozen data from each chain before the response is returned.
ProcessorLibrary.Echo - Class in com.yahoo.processing.test
A processor which on invocation prints the string given on construction
ProcessorLibrary.ErrorAdder - Class in com.yahoo.processing.test
A processor which adds an ErrorMessage to the request of the top level data of each returned response.
ProcessorLibrary.Federator - Class in com.yahoo.processing.test
 
ProcessorLibrary.FutureDataSource - Class in com.yahoo.processing.test
 
ProcessorLibrary.Get6DataItems - Class in com.yahoo.processing.test
Sends the request multiple times to get at least 6 pieces of data
ProcessorLibrary.ListenableFutureDataSource - Class in com.yahoo.processing.test
Allows waiting for that request to happen.
ProcessorLibrary.LogValueAdder - Class in com.yahoo.processing.test
Adds (key, value) to the log value trace.
ProcessorLibrary.MapData - Class in com.yahoo.processing.test
 
ProcessorLibrary.RequestCounter - Class in com.yahoo.processing.test
Allows waiting for that request to happen.
ProcessorLibrary.StatusSetter - Class in com.yahoo.processing.test
 
ProcessorLibrary.StreamProcessingInitiator - Class in com.yahoo.processing.test
Registers a chain to be invoked each time new data becomes available in the first child list
ProcessorLibrary.StringData - Class in com.yahoo.processing.test
 
ProcessorLibrary.StringDataAdder - Class in com.yahoo.processing.test
A processor which adds a StringData item containing the string given in the constructor to every response
ProcessorLibrary.StringDataListAdder - Class in com.yahoo.processing.test
A processor which adds a List of StringData items containing the strings given in the constructor to every response
ProcessorLibrary.Trace - Class in com.yahoo.processing.test
Adds a the given trace message at the given trace level
ProcessorLibrary.UnorderedArrayDataList - Class in com.yahoo.processing.test
 
properties() - Method in class com.yahoo.processing.Request
Returns the properties set on this request.
Properties - Class in com.yahoo.processing.request
The properties of a request
Properties() - Constructor for class com.yahoo.processing.request.Properties
 
PropertyMap - Class in com.yahoo.processing.request.properties
A HashMap backing of Properties.
PropertyMap() - Constructor for class com.yahoo.processing.request.properties.PropertyMap
 
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.
recursiveToString(Data) - Static method in class com.yahoo.processing.test.Responses
Returns a data item as a recursively indented string
request() - Method in class com.yahoo.processing.response.AbstractData
Returns the request that created this data
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 - 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.
RequestCounter() - Constructor for class com.yahoo.processing.test.ProcessorLibrary.RequestCounter
 
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(Request, ErrorMessage) - Constructor for class com.yahoo.processing.Response
Convenience constructor which adds the given error message to the given request
Response(DataList<?>) - Constructor for class com.yahoo.processing.Response
Creates a response containing a list of data
ResponseReceiver - Interface in com.yahoo.processing.execution
An interface for classes which can be given responses.
Responses - Class in com.yahoo.processing.test
Static utilities
Responses() - Constructor for class com.yahoo.processing.test.Responses
 
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) - 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(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) - 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, Map<String, String>) - Method in class com.yahoo.processing.request.Properties
Sets a value to the first chained instance which accepts it.
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
 
setString(String) - Method in class com.yahoo.processing.test.ProcessorLibrary.StringData
 
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.
StatusSetter(int) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.StatusSetter
 
Step - com.yahoo.processing.execution.Execution.Trace.Level
Every processing step initiated is traced
Streamed - Interface in com.yahoo.processing.response
This is an optional marker interface.
StreamProcessingInitiator(Chain<Processor>) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.StreamProcessingInitiator
 
StringData(Request, String) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.StringData
 
StringDataAdder(String) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.StringDataAdder
 
StringDataListAdder(String...) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.StringDataListAdder
 

T

Timestamp - com.yahoo.processing.execution.Execution.Trace.Level
All trace messages are timestamped
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
 
toString() - Method in class com.yahoo.processing.test.ProcessorLibrary.MapData
 
toString() - Method in class com.yahoo.processing.test.ProcessorLibrary.StringData
 
trace() - Method in class com.yahoo.processing.execution.Execution
 
trace(Object, int) - Method in class com.yahoo.processing.execution.Execution.Trace
 
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
Trace(String, int) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.Trace
 
traceNode() - Method in class com.yahoo.processing.execution.Execution.Trace
Returns the trace node peer of this

U

UnorderedArrayDataList(Request) - Constructor for class com.yahoo.processing.test.ProcessorLibrary.UnorderedArrayDataList
 

V

value() - Method in enum com.yahoo.processing.execution.Execution.Trace.Level
 
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.

W

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