Index

A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

available() - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 

B

build() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
Builder() - Constructor for class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
Builder(DocumentOperationExecutorConfig) - Constructor for class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
ByteLimitedInputStream - Class in com.yahoo.vespa.http.server.util
 
ByteLimitedInputStream(InputStream, int) - Constructor for class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 

C

CLIENT_ID - Static variable in class com.yahoo.vespa.http.server.Headers
 
CLIENT_VERSION - Static variable in class com.yahoo.vespa.http.server.Headers
 
ClientState - Class in com.yahoo.vespa.http.server
The state of a client session, used to save replies when client disconnects.
ClientState(int, BlockingQueue<OperationStatus>, ReferencedResource<SharedSourceSession>, Metric.Context, long, double) - Constructor for class com.yahoo.vespa.http.server.ClientState
 
close() - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 
com.yahoo.document.restapi - package com.yahoo.document.restapi
 
com.yahoo.document.restapi.resource - package com.yahoo.document.restapi.resource
 
com.yahoo.documentapi.metrics - package com.yahoo.documentapi.metrics
 
com.yahoo.vespa.http.server - package com.yahoo.vespa.http.server
Server side of programmatic API for feeding into Vespa from outside the clusters.
com.yahoo.vespa.http.server.util - package com.yahoo.vespa.http.server.util
 
CONDITION_FAILED - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 
CONDITION_NOT_MET - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
CONFIG_DEF_MD5 - Static variable in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
CONFIG_DEF_NAME - Static variable in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
CONFIG_DEF_NAMESPACE - Static variable in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
CONFIG_DEF_SCHEMA - Static variable in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
createReader(InputStream, DocumentTypeManager, FeedParams.DataFormat) - Method in class com.yahoo.vespa.http.server.FeedReaderFactory
Creates FeedReader
creationTime - Variable in class com.yahoo.vespa.http.server.ClientState
 
creationTime - Variable in class com.yahoo.vespa.http.server.ReplyContext
 

D

DATA_FORMAT - Static variable in class com.yahoo.vespa.http.server.Headers
 
dataFormat - Variable in class com.yahoo.vespa.http.server.FeederSettings
 
DENY_IF_BUSY - Static variable in class com.yahoo.vespa.http.server.Headers
 
destroy() - Method in class com.yahoo.document.restapi.resource.DocumentV1ApiHandler
 
destroy() - Method in class com.yahoo.vespa.http.server.FeedHandler
 
destroy() - Method in class com.yahoo.vespa.http.server.FeedHandlerV3
 
dispatchGetConfig(ConfigInstance.Producer) - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
docId - Variable in class com.yahoo.vespa.http.server.ReplyContext
 
DocumentApiMetrics - Class in com.yahoo.documentapi.metrics
This class reports metrics for feed operations by APIs that use documentapi.
DocumentApiMetrics(MetricReceiver, String) - Constructor for class com.yahoo.documentapi.metrics.DocumentApiMetrics
 
DocumentOperationExecutorConfig - Class in com.yahoo.document.restapi
This class represents the root node of document-operation-executor Copyright Yahoo.
DocumentOperationExecutorConfig(DocumentOperationExecutorConfig.Builder) - Constructor for class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
DocumentOperationExecutorConfig.Builder - Class in com.yahoo.document.restapi
 
DocumentOperationExecutorConfig.Producer - Interface in com.yahoo.document.restapi
 
DocumentOperationStatus - Enum Class in com.yahoo.documentapi.metrics
Enum with possible outcomes of a single document feeding operation: OK: Document was successfully added/updated/removed REQUEST_ERROR: User-made error, for example invalid document format SERVER_ERROR: Server-made error, for example insufficient disk space
DocumentOperationType - Enum Class in com.yahoo.documentapi.metrics
 
DocumentV1ApiHandler - Class in com.yahoo.document.restapi.resource
Asynchronous HTTP handler for /document/v1
DocumentV1ApiHandler(Metric, MetricReceiver, VespaDocumentAccess, DocumentmanagerConfig, ClusterListConfig, AllClustersBucketSpacesConfig, DocumentOperationExecutorConfig) - Constructor for class com.yahoo.document.restapi.resource.DocumentV1ApiHandler
 
drain - Variable in class com.yahoo.vespa.http.server.FeederSettings
 
DRAIN - Static variable in class com.yahoo.vespa.http.server.Headers
 

E

ERROR - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationType
 
ErrorHttpResponse - Class in com.yahoo.vespa.http.server
 
ErrorHttpResponse(int, String) - Constructor for class com.yahoo.vespa.http.server.ErrorHttpResponse
 

F

FAILED - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
FAILED_INSUFFICIENT_STORAGE - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
FAILED_TIMEOUT - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
FAILED_UNKNOWN - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
FeederSettings - Class in com.yahoo.vespa.http.server
Wrapper for the feed feederSettings read from HTTP request.
FeederSettings(HttpRequest) - Constructor for class com.yahoo.vespa.http.server.FeederSettings
 
FeedHandler - Class in com.yahoo.vespa.http.server
Accept feeds from outside the Vespa cluster.
FeedHandler(ContainerThreadPool, Metric, DocumentTypeManager, SessionCache, MetricReceiver) - Constructor for class com.yahoo.vespa.http.server.FeedHandler
 
FeedHandlerV3 - Class in com.yahoo.vespa.http.server
One client has one ClientFeederV3 shared between all client threads.
FeedHandlerV3(Executor, Metric, DocumentTypeManager, SessionCache, DocumentApiMetrics) - Constructor for class com.yahoo.vespa.http.server.FeedHandlerV3
 
FeedParams - Class in com.yahoo.vespa.http.server
Feed level parameters.
FeedParams() - Constructor for class com.yahoo.vespa.http.server.FeedParams
 
FeedParams.DataFormat - Enum Class in com.yahoo.vespa.http.server
Enumeration of data formats that are acceptable by the FeedClient methods.
FeedReaderFactory - Class in com.yahoo.vespa.http.server
Class for creating FeedReader based on dataFormat.
FeedReaderFactory(boolean) - Constructor for class com.yahoo.vespa.http.server.FeedReaderFactory
 
feedReplies - Variable in class com.yahoo.vespa.http.server.ClientState
 
feedReplies - Variable in class com.yahoo.vespa.http.server.ReplyContext
 
feedReplyHandler - Variable in class com.yahoo.vespa.http.server.FeedHandler
 
feedReplyHandler - Variable in class com.yahoo.vespa.http.server.FeedHandlerV3
 
FeedReplyReader - Class in com.yahoo.vespa.http.server
Catch message bus replies and make the available to a given session.
FeedReplyReader(Metric, DocumentApiMetrics) - Constructor for class com.yahoo.vespa.http.server.FeedReplyReader
 
FeedResponse - Class in com.yahoo.vespa.http.server
Reads feed responses from a queue and renders them continuously to the feeder.
FeedResponse(int, BlockingQueue<OperationStatus>, int, String) - Constructor for class com.yahoo.vespa.http.server.FeedResponse
 
FeedResponse(int, BlockingQueue<OperationStatus>, int, String, int, String) - Constructor for class com.yahoo.vespa.http.server.FeedResponse
 
fromMessage(Message) - Static method in enum class com.yahoo.documentapi.metrics.DocumentOperationType
 
fromMessageBusErrorCodes(Set<Integer>) - Static method in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 

G

getApplyOnRestart() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
getCharacterEncoding() - Method in class com.yahoo.vespa.http.server.FeedResponse
 
getConfig(DocumentOperationExecutorConfig.Builder) - Method in interface com.yahoo.document.restapi.DocumentOperationExecutorConfig.Producer
 
getContentType() - Method in class com.yahoo.vespa.http.server.FeedResponse
 
getDefMd5() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
getDefMd5() - Static method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
getDefName() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
getDefName() - Static method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
getDefNamespace() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
getDefNamespace() - Static method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
getNextOperation(InputStream, FeederSettings) - Method in class com.yahoo.vespa.http.server.StreamReaderV3
 
getNextOperationId(InputStream) - Method in class com.yahoo.vespa.http.server.StreamReaderV3
 

H

handle(HttpRequest) - Method in class com.yahoo.document.restapi.resource.RestApi
 
handle(HttpRequest) - Method in class com.yahoo.vespa.http.server.FeedHandler
 
handle(HttpRequest) - Method in class com.yahoo.vespa.http.server.FeedHandlerV3
 
handleReply(Reply) - Method in class com.yahoo.vespa.http.server.FeedReplyReader
 
handleRequest(Request, ResponseHandler) - Method in class com.yahoo.document.restapi.resource.DocumentV1ApiHandler
 
handleTimeout(Request, ResponseHandler) - Method in class com.yahoo.document.restapi.resource.DocumentV1ApiHandler
 
Headers - Class in com.yahoo.vespa.http.server
HTTP headers.
HOSTNAME - Static variable in class com.yahoo.vespa.http.server.Headers
 
HTTP_NOT_ACCEPTABLE - Static variable in class com.yahoo.vespa.http.server.Headers
 

I

IGNORED_FIELDS - Static variable in class com.yahoo.vespa.http.server.Headers
 
injectDocumentManangerForTests(DocumentTypeManager) - Method in class com.yahoo.vespa.http.server.FeedHandlerV3
 

J

JSON_UTF8 - Enum constant in enum class com.yahoo.vespa.http.server.FeedParams.DataFormat
 

L

LATENCY - Static variable in class com.yahoo.vespa.http.server.MetricNames
 

M

mark(int) - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 
markSupported() - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 
maxThrottled() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
maxThrottled(int) - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
metricContext - Variable in class com.yahoo.vespa.http.server.ClientState
 
MetricNames - Class in com.yahoo.vespa.http.server
Place to store the metric names so where the metrics are logged can be found more easily in an IDE.

N

NOT_FOUND - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 
NOT_FOUND - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
NUM_OPERATIONS - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
NUM_PUTS - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
NUM_REMOVES - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
NUM_UPDATES - Static variable in class com.yahoo.vespa.http.server.MetricNames
 

O

OK - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 
OPERATIONS_PER_SEC - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
operationsForOpsPerSec - Variable in class com.yahoo.vespa.http.server.ClientState
 
OUTSTANDING_REQUESTS - Static variable in class com.yahoo.vespa.http.server.Headers
 

P

PARSE_ERROR - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
pending - Variable in class com.yahoo.vespa.http.server.ClientState
 
PENDING - Static variable in class com.yahoo.vespa.http.server.MetricNames
 
prevOpsPerSecTime - Variable in class com.yahoo.vespa.http.server.ClientState
 
PUT - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationType
 

R

read() - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 
read(byte[], int, int) - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 
REMOVE - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationType
 
render(OutputStream) - Method in class com.yahoo.vespa.http.server.ErrorHttpResponse
 
render(OutputStream) - Method in class com.yahoo.vespa.http.server.FeedResponse
 
ReplyContext - Class in com.yahoo.vespa.http.server
Mapping between document ID and client session.
ReplyContext(String, BlockingQueue<OperationStatus>) - Constructor for class com.yahoo.vespa.http.server.ReplyContext
 
report(DocumentOperationType, Instant, DocumentOperationStatus...) - Method in class com.yahoo.documentapi.metrics.DocumentApiMetrics
 
reportFailure(DocumentOperationType, DocumentOperationStatus) - Method in class com.yahoo.documentapi.metrics.DocumentApiMetrics
 
reportHttpRequest(String) - Method in class com.yahoo.documentapi.metrics.DocumentApiMetrics
 
reportSuccessful(DocumentOperationType, double) - Method in class com.yahoo.documentapi.metrics.DocumentApiMetrics
 
REQUEST_ERROR - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 
resendDelayMillis() - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig
 
resendDelayMillis(int) - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
reset() - Method in class com.yahoo.vespa.http.server.util.ByteLimitedInputStream
 
RestApi - Class in com.yahoo.document.restapi.resource
Dummy for internal use.
RestApi() - Constructor for class com.yahoo.document.restapi.resource.RestApi
 
retainSource(SessionCache, SourceSessionParams) - Method in class com.yahoo.vespa.http.server.FeedHandlerV3
 
route - Variable in class com.yahoo.vespa.http.server.FeederSettings
 
ROUTE - Static variable in class com.yahoo.vespa.http.server.Headers
 

S

SERVER_ERROR - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 
SESSION_ID - Static variable in class com.yahoo.vespa.http.server.Headers
 
setApplyOnRestart(boolean) - Method in class com.yahoo.document.restapi.DocumentOperationExecutorConfig.Builder
 
SHARDING_KEY - Static variable in class com.yahoo.vespa.http.server.Headers
 
SILENTUPGRADE - Static variable in class com.yahoo.vespa.http.server.Headers
 
sourceSession - Variable in class com.yahoo.vespa.http.server.ClientState
 
StreamReaderV3 - Class in com.yahoo.vespa.http.server
This code is based on v2 code, but restructured so stream reading code is in one dedicated class.
StreamReaderV3(FeedReaderFactory, DocumentTypeManager) - Constructor for class com.yahoo.vespa.http.server.StreamReaderV3
 
SUCCEEDED - Static variable in class com.yahoo.vespa.http.server.MetricNames
 

T

TIMEOUT - Static variable in class com.yahoo.vespa.http.server.Headers
 
TOO_MANY_REQUESTS - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
 
TRACE_LEVEL - Static variable in class com.yahoo.vespa.http.server.Headers
 
traceLevel - Variable in class com.yahoo.vespa.http.server.FeederSettings
 

U

UnknownClientException - Exception in com.yahoo.vespa.http.server
 
UnknownClientException(String) - Constructor for exception com.yahoo.vespa.http.server.UnknownClientException
 
unzipStreamIfNeeded(HttpRequest) - Static method in class com.yahoo.vespa.http.server.StreamReaderV3
 
unzipStreamIfNeeded(InputStream, HttpRequest) - Static method in class com.yahoo.vespa.http.server.FeedHandler
 
UPDATE - Enum constant in enum class com.yahoo.documentapi.metrics.DocumentOperationType
 

V

valueOf(String) - Static method in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.yahoo.documentapi.metrics.DocumentOperationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.yahoo.vespa.http.server.FeedParams.DataFormat
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.yahoo.documentapi.metrics.DocumentOperationStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.yahoo.documentapi.metrics.DocumentOperationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.yahoo.vespa.http.server.FeedParams.DataFormat
Returns an array containing the constants of this enum class, in the order they are declared.
VERSION - Static variable in class com.yahoo.vespa.http.server.Headers
 

W

writeErrorResponseOnOverload(Request, ResponseHandler) - Method in class com.yahoo.vespa.http.server.FeedHandler
 

X

XML_UTF8 - Enum constant in enum class com.yahoo.vespa.http.server.FeedParams.DataFormat
UTF-8-encoded XML.
A B C D E F G H I J L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form