@PublicApi
Package ai.vespa.feed.client
- Author:
- bjorncs
-
Interface Summary Interface Description FeedClient Asynchronous feed client accepting document operations as JSON.FeedClient.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.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 operation which completed normally.StaticThrottler 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 invalidResultException Signals that the document API in the feed container returned a failure result for a feed operation.ResultParseException Signals that the client was unable to obtain a proper response/result from container