@PublicApi
Package ai.vespa.feed.client
- Author:
- bjorncs
-
Interface Summary Interface Description FeedClient Asynchronous feed client accepting document operations as JSONFeedClient.CircuitBreaker Allows slowing down or halting completely operations against the configured endpoint on high failure rates.FeedClient.RetryStrategy Controls what to retry, and how many times.FeedClient.Throttler Determines the number of requests to have inflight at any point.JsonFeeder.ResultCallback -
Class Summary Class Description BenchmarkingCluster DocumentId Represents a Vespa document idDynamicThrottler Samples latency as a function of inflight requests, and regularly adjusts to the optimal value.FeedClientBuilder Builder for creating aFeedClient
instance.GracePeriodCircuitBreaker Breaks the circuit when no successes have been recorded for a specified time.JsonFeeder JsonFeeder.Builder OperationParameters Per-operation feed parametersOperationStats Statistics for feed operations over HTTP against a Vespa cluster.Result Result for a document operationStaticThrottler Reduces max throughput whenever throttled; increases it slowly whenever successful responses are obtained. -
Enum Summary Enum Description FeedClient.CircuitBreaker.State FeedClient.OperationType Result.Type -
Exception Summary Exception Description FeedException Signals that an error occurred during feedingOperationParseException Signals that supplied JSON for a document/operation is invalidResultParseException Signals that the client was unable to parse the result/response from container