Package com.yahoo.documentapi.messagebus.protocol
@ExportPackage
@PublicApi
package com.yahoo.documentapi.messagebus.protocol
-
ClassDescriptionAn AND policy is a routing policy that can be used to write simple routes that split a message between multiple other destinations.Routing policy to determine which distributor in a content cluster to send data to.Helper class to get the bucket identifier of a message.Class handling the logic of picking a distributorHelper class to match a host pattern with node to use.Tracks "instability" across nodes based on number of failures received versus some implementation-specific limit.Class parsing the semicolon separated parameter string and exposes the appropriate value to the policy.Class that tracks a failure of a given type per node.Host fetcher using a slobrok mirror to find the hosts.Common base class for replies that indicate that a document was routed to some recipient.Implements the message bus protocol that is used by all components of Vespa.Defines the different priorities allowed for document api messages.This class represents the root node of document-protocol-policies Copyright Vespa.ai.This class represents document-protocol-policies.cluster{}This class represents document-protocol-policies.cluster{}.route[]This class implements a generic document protocol reply that can be reused by document messages that require no special reply implementation while still allowing applications to distinguish between types.This policy is responsible for selecting among the given recipient routes according to the configured document selection properties.This class represents the root node of documentrouteselectorpolicy Copyright Vespa.ai.This class represents documentrouteselectorpolicy.route[]This policy assigns an error supplied at constructor time to the routing context when
ErrorPolicy.select(RoutingContext)
is invoked.This policy implements the necessary logic to communicate with an external Vespa application and resolve its list of recipients using that other application's slobrok servers.This message is a request to return the state of a given bucket.This is a reply to aGetBucketStateMessage
.Routing policy to load balance between nodes in a randomly distributed cluster, such as a docproc cluster.This policy implements the logic to prefer local services that matches a slobrok pattern.Message (VDS only) to remove an entire location for users using n= or g= schemes.This policy implements round-robin selection of the configured recipients that are currently registered in slobrok.Implements the shared factory logic required forDocumentMessage
objects, and it offers a more convenient interface for implementingRoutableFactory
.Implements the shared factory logic required forDocumentReply
objects, and it offers a more convenient interface for implementingRoutableFactory
.This interface defines the necessary methods of a routable factory that can be plugged into aDocumentProtocol
using theDocumentProtocol.putRoutableFactory(int, RoutableFactory, com.yahoo.component.VersionSpecification)
method.This interface defines the necessary methods of a routing policy factory that can be plugged into aDocumentProtocol
using theDocumentProtocol.putRoutingPolicyFactory(String, RoutingPolicyFactory)
method.Abstract class for policies that allow you to specify which slobrok to use for the routing.This policy implements the logic to select a subset of services that matches a slobrok pattern.This class represents messages having an optional "test and set" conditionThis reply class is used by operations that perform writes to VDS/search, that is: Put, Remove, Update.