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

A

addRequestHeader(String, String) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Adds HTTP request header to all client requests.
addRequestHeader(String, Supplier<String>) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Adds HTTP request header to all client requests.
ai.vespa.feed.client - package ai.vespa.feed.client
 
averageLatencyMillis() - Method in class ai.vespa.feed.client.OperationStats
Average request-response latency, or -1.
await(CompletableFuture<Result>...) - Static method in interface ai.vespa.feed.client.FeedClient
Same as FeedClient.await(List) except promises parameter is a vararg
await(List<CompletableFuture<Result>>) - Static method in interface ai.vespa.feed.client.FeedClient
Waits for all feed operations to complete, either successfully or with exception.

B

body() - Method in interface ai.vespa.feed.client.HttpResponse
 
build() - Method in interface ai.vespa.feed.client.FeedClientBuilder
Constructs instance of FeedClient from builder configuration
build() - Method in class ai.vespa.feed.client.JsonFeeder.Builder
 
builder(FeedClient) - Static method in class ai.vespa.feed.client.JsonFeeder
 
bytesReceived() - Method in class ai.vespa.feed.client.OperationStats
Number of bytes received in HTTP responses.
bytesSent() - Method in class ai.vespa.feed.client.OperationStats
Number of bytes sent, for HTTP requests with a response.

C

circuitBreakerState() - Method in interface ai.vespa.feed.client.FeedClient
Current state of the circuit breaker.
close() - Method in interface ai.vespa.feed.client.FeedClient
Initiates graceful shutdown.
close() - Method in class ai.vespa.feed.client.JsonFeeder
 
close(boolean) - Method in interface ai.vespa.feed.client.FeedClient
Shut down, and reject new operations.
CLOSED - ai.vespa.feed.client.FeedClient.CircuitBreaker.State
Circuit is closed: business as usual.
code() - Method in interface ai.vespa.feed.client.HttpResponse
 
conditionNotMet - ai.vespa.feed.client.Result.Type
 
create(URI) - Static method in interface ai.vespa.feed.client.FeedClientBuilder
Creates a builder for a single container endpoint
create(List<URI>) - Static method in interface ai.vespa.feed.client.FeedClientBuilder
Creates a builder for multiple container endpoints
createIfNonExistent() - Method in class ai.vespa.feed.client.OperationParameters
 
createIfNonExistent(boolean) - Method in class ai.vespa.feed.client.OperationParameters
 

D

documentId() - Method in exception ai.vespa.feed.client.FeedException
 
documentId() - Method in interface ai.vespa.feed.client.Result
 
DocumentId - Class in ai.vespa.feed.client
Represents a Vespa document id
documentIds() - Method in exception ai.vespa.feed.client.MultiFeedException
 
documentType() - Method in class ai.vespa.feed.client.DocumentId
 

E

empty() - Static method in class ai.vespa.feed.client.OperationParameters
 
equals(Object) - Method in class ai.vespa.feed.client.DocumentId
 
equals(Object) - Method in class ai.vespa.feed.client.OperationParameters
 
equals(Object) - Method in class ai.vespa.feed.client.OperationStats
 
exceptions() - Method in class ai.vespa.feed.client.OperationStats
Number of exceptions (instead of responses).

F

failure(HttpResponse) - Method in interface ai.vespa.feed.client.FeedClient.CircuitBreaker
Called by the client whenever an error HTTP response is received.
failure(Throwable) - Method in interface ai.vespa.feed.client.FeedClient.CircuitBreaker
Called by the client whenever an exception occurs trying to obtain a HTTP response.
FeedClient - Interface in ai.vespa.feed.client
Asynchronous feed client accepting document operations as JSON.
FeedClient.CircuitBreaker - Interface in ai.vespa.feed.client
Allows slowing down or halting completely operations against the configured endpoint on high failure rates.
FeedClient.CircuitBreaker.State - Enum in ai.vespa.feed.client
 
FeedClient.OperationType - Enum in ai.vespa.feed.client
 
FeedClient.RetryStrategy - Interface in ai.vespa.feed.client
Controls what to retry, and how many times.
FeedClientBuilder - Interface in ai.vespa.feed.client
Builder for creating a FeedClient instance.
FeedException - Exception in ai.vespa.feed.client
Signals that an error occurred during feeding
FeedException(DocumentId, String) - Constructor for exception ai.vespa.feed.client.FeedException
 
FeedException(DocumentId, String, Throwable) - Constructor for exception ai.vespa.feed.client.FeedException
 
FeedException(DocumentId, Throwable) - Constructor for exception ai.vespa.feed.client.FeedException
 
FeedException(String) - Constructor for exception ai.vespa.feed.client.FeedException
 
FeedException(String, Throwable) - Constructor for exception ai.vespa.feed.client.FeedException
 
FeedException(Throwable) - Constructor for exception ai.vespa.feed.client.FeedException
 
feedExceptions() - Method in exception ai.vespa.feed.client.MultiFeedException
 
feedMany(InputStream) - Method in class ai.vespa.feed.client.JsonFeeder
feedMany(InputStream, JsonFeeder.ResultCallback) - Method in class ai.vespa.feed.client.JsonFeeder
Feeds a stream containing a JSON array of feed operations on the form
feedSingle(String) - Method in class ai.vespa.feed.client.JsonFeeder
Feeds single JSON feed operations on the form
FUSED - Static variable in interface ai.vespa.feed.client.FeedClient.CircuitBreaker
A circuit breaker which is always closed.

G

getTrace() - Method in exception ai.vespa.feed.client.ResultException
Holds the trace, if the failed operation had a OperationParameters.tracelevel(int) higher than 0.
group() - Method in class ai.vespa.feed.client.DocumentId
 

H

HALF_OPEN - ai.vespa.feed.client.FeedClient.CircuitBreaker.State
Circuit is half-open: something is wrong, perhaps it recovers?
hashCode() - Method in class ai.vespa.feed.client.DocumentId
 
hashCode() - Method in class ai.vespa.feed.client.OperationParameters
 
hashCode() - Method in class ai.vespa.feed.client.OperationStats
 
HttpResponse - Interface in ai.vespa.feed.client
 

I

inflight() - Method in class ai.vespa.feed.client.OperationStats
Number of attempted requests which haven't yielded a response or exception yet.

J

JsonFeeder - Class in ai.vespa.feed.client
 
JsonFeeder.Builder - Class in ai.vespa.feed.client
 
JsonFeeder.ResultCallback - Interface in ai.vespa.feed.client
 

M

maxLatencyMillis() - Method in class ai.vespa.feed.client.OperationStats
Maximum request-response latency, or -1.
minLatencyMillis() - Method in class ai.vespa.feed.client.OperationStats
Minimum request-response latency, or -1.
MultiFeedException - Exception in ai.vespa.feed.client
Aggregates multiple instances of FeedException
MultiFeedException(Collection<FeedException>) - Constructor for exception ai.vespa.feed.client.MultiFeedException
 

N

namespace() - Method in class ai.vespa.feed.client.DocumentId
 
noBenchmarking() - Method in interface ai.vespa.feed.client.FeedClientBuilder
Turns off benchmarking.
number() - Method in class ai.vespa.feed.client.DocumentId
 

O

of(int, byte[]) - Static method in interface ai.vespa.feed.client.HttpResponse
 
of(String) - Static method in class ai.vespa.feed.client.DocumentId
 
of(String, String, long, String) - Static method in class ai.vespa.feed.client.DocumentId
 
of(String, String, String) - Static method in class ai.vespa.feed.client.DocumentId
 
of(String, String, String, String) - Static method in class ai.vespa.feed.client.DocumentId
 
onComplete() - Method in interface ai.vespa.feed.client.JsonFeeder.ResultCallback
Invoked when all feed operations are either completed successfully or failed.
onError(FeedException) - Method in interface ai.vespa.feed.client.JsonFeeder.ResultCallback
Invoked if an unrecoverable error occurred during feed processing, after which no other JsonFeeder.ResultCallback methods are invoked.
onNextResult(Result, FeedException) - Method in interface ai.vespa.feed.client.JsonFeeder.ResultCallback
Invoked after each operation has either completed successfully or failed
OPEN - ai.vespa.feed.client.FeedClient.CircuitBreaker.State
Circuit is open: we have given up.
OperationParameters - Class in ai.vespa.feed.client
Per-operation feed parameters
OperationParseException - Exception in ai.vespa.feed.client
Signals that supplied JSON for a document/operation is invalid
OperationParseException(String) - Constructor for exception ai.vespa.feed.client.OperationParseException
 
OperationParseException(String, Throwable) - Constructor for exception ai.vespa.feed.client.OperationParseException
 
OperationStats - Class in ai.vespa.feed.client
Statistics for feed operations over HTTP against a Vespa cluster.
OperationStats(long, Map<Integer, Long>, long, long, long, long, long, long, long) - Constructor for class ai.vespa.feed.client.OperationStats
 

P

PREFERRED_IMPLEMENTATION_PROPERTY - Static variable in interface ai.vespa.feed.client.FeedClientBuilder
 
put(DocumentId, String, OperationParameters) - Method in interface ai.vespa.feed.client.FeedClient
Send a document put with the given parameters, returning a future with the result of the operation.
PUT - ai.vespa.feed.client.FeedClient.OperationType
A document put operation.

R

remove(DocumentId, OperationParameters) - Method in interface ai.vespa.feed.client.FeedClient
Send a document remove with the given parameters, returning a future with the result of the operation.
REMOVE - ai.vespa.feed.client.FeedClient.OperationType
A document remove operation.
requests() - Method in class ai.vespa.feed.client.OperationStats
Number of HTTP requests attempted.
responses() - Method in class ai.vespa.feed.client.OperationStats
Number of HTTP responses received.
responsesByCode() - Method in class ai.vespa.feed.client.OperationStats
Number of HTTP responses by status code.
Result - Interface in ai.vespa.feed.client
Result for a document operation which completed normally.
Result.Type - Enum in ai.vespa.feed.client
 
ResultException - Exception in ai.vespa.feed.client
Signals that the document API in the feed container returned a failure result for a feed operation.
ResultException(DocumentId, String, String) - Constructor for exception ai.vespa.feed.client.ResultException
 
resultMessage() - Method in interface ai.vespa.feed.client.Result
 
ResultParseException - Exception in ai.vespa.feed.client
Signals that the client was unable to obtain a proper response/result from container
ResultParseException(DocumentId, String) - Constructor for exception ai.vespa.feed.client.ResultParseException
 
ResultParseException(DocumentId, Throwable) - Constructor for exception ai.vespa.feed.client.ResultParseException
 
retries() - Method in interface ai.vespa.feed.client.FeedClient.RetryStrategy
Number of retries per operation for assumed transient, non-backpressure problems.
retry(FeedClient.OperationType) - Method in interface ai.vespa.feed.client.FeedClient.RetryStrategy
Whether to retry operations of the given type.
route() - Method in class ai.vespa.feed.client.OperationParameters
 
route(String) - Method in class ai.vespa.feed.client.OperationParameters
 

S

setCaCertificates(Collection<X509Certificate>) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Overrides JVM default SSL truststore
setCaCertificatesFile(Path) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Overrides JVM default SSL truststore
setCertificate(Path, Path) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets path to client SSL certificate/key PEM files
setCertificate(X509Certificate, PrivateKey) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets client SSL certificate/key
setCertificate(Collection<X509Certificate>, PrivateKey) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets client SSL certificates/key
setCircuitBreaker(FeedClient.CircuitBreaker) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Overrides default circuit breaker.
setConnectionsPerEndpoint(int) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets the number of connections this client will use per endpoint.
setDryrun(boolean) - Method in interface ai.vespa.feed.client.FeedClientBuilder
 
setEndpointUris(List<URI>) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Overrides endpoint URIs for this client
setFeedClientBuilderSupplier(Supplier<FeedClientBuilder>) - Static method in interface ai.vespa.feed.client.FeedClientBuilder
Override FeedClientBuilder.
setHostnameVerifier(HostnameVerifier) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets HostnameVerifier instance (e.g for disabling default SSL hostname verification).
setMaxStreamPerConnection(int) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets the maximum number of streams per HTTP/2 connection for this client.
setProxy(URI) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Specify HTTP(S) proxy for all endpoints
setRetryStrategy(FeedClient.RetryStrategy) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Overrides default retry strategy.
setSslContext(SSLContext) - Method in interface ai.vespa.feed.client.FeedClientBuilder
Sets SSLContext instance.
since(OperationStats) - Method in class ai.vespa.feed.client.OperationStats
Returns the difference between this and the initial.
state() - Method in interface ai.vespa.feed.client.FeedClient.CircuitBreaker
The current state of the circuit breaker.
stats() - Method in interface ai.vespa.feed.client.FeedClient
Returns a snapshot of the stats for this feed client, such as requests made, and responses by status.
success - ai.vespa.feed.client.Result.Type
 
success() - Method in interface ai.vespa.feed.client.FeedClient.CircuitBreaker
Called by the client whenever a successful response is obtained.
successes() - Method in class ai.vespa.feed.client.OperationStats
Number of 200 OK HTTP responses received.

T

testAndSetCondition() - Method in class ai.vespa.feed.client.OperationParameters
 
testAndSetCondition(String) - Method in class ai.vespa.feed.client.OperationParameters
 
timeout() - Method in class ai.vespa.feed.client.OperationParameters
 
timeout(Duration) - Method in class ai.vespa.feed.client.OperationParameters
 
toString() - Method in class ai.vespa.feed.client.DocumentId
 
toString() - Method in class ai.vespa.feed.client.OperationParameters
 
toString() - Method in class ai.vespa.feed.client.OperationStats
 
tracelevel() - Method in class ai.vespa.feed.client.OperationParameters
 
tracelevel(int) - Method in class ai.vespa.feed.client.OperationParameters
 
traceMessage() - Method in interface ai.vespa.feed.client.Result
 
type() - Method in interface ai.vespa.feed.client.Result
 

U

update(DocumentId, String, OperationParameters) - Method in interface ai.vespa.feed.client.FeedClient
Send a document update with the given parameters, returning a future with the result of the operation.
UPDATE - ai.vespa.feed.client.FeedClient.OperationType
A document update operation.
userSpecific() - Method in class ai.vespa.feed.client.DocumentId
 

V

valueOf(String) - Static method in enum ai.vespa.feed.client.FeedClient.CircuitBreaker.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.vespa.feed.client.FeedClient.OperationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ai.vespa.feed.client.Result.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum ai.vespa.feed.client.FeedClient.CircuitBreaker.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.vespa.feed.client.FeedClient.OperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ai.vespa.feed.client.Result.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

withRoute(String) - Method in class ai.vespa.feed.client.JsonFeeder.Builder
 
withTimeout(Duration) - Method in class ai.vespa.feed.client.JsonFeeder.Builder
 
withTracelevel(int) - Method in class ai.vespa.feed.client.JsonFeeder.Builder
 
A B C D E F G H I J M N O P R S T U V W 
All Classes All Packages