public class Dispatcher
extends com.yahoo.component.AbstractComponent
Modifier and Type | Class and Description |
---|---|
static class |
Dispatcher.GetDocsumsResponseReceiver
Receiver of the responses to a set of getDocsums requests
|
Constructor and Description |
---|
Dispatcher(com.yahoo.vespa.config.search.DispatchConfig dispatchConfig,
FS4ResourcePool fs4ResourcePool,
int containerClusterSize,
com.yahoo.container.handler.VipStatus vipStatus) |
Dispatcher(Map<Integer,com.yahoo.search.dispatch.Client.NodeConnection> nodeConnections,
com.yahoo.search.dispatch.Client client)
For testing
|
Modifier and Type | Method and Description |
---|---|
void |
deconstruct() |
void |
fill(Result result,
String summaryClass,
DocumentDatabase documentDb,
com.yahoo.compress.CompressionType compression)
Fills the given summary class by sending RPC requests to the right search nodes
|
Optional<CloseableChannel> |
getDispatchedChannel(Query query) |
SearchCluster |
searchCluster()
Returns the search cluster this dispatches to
|
public Dispatcher(com.yahoo.vespa.config.search.DispatchConfig dispatchConfig, FS4ResourcePool fs4ResourcePool, int containerClusterSize, com.yahoo.container.handler.VipStatus vipStatus)
public SearchCluster searchCluster()
public void fill(Result result, String summaryClass, DocumentDatabase documentDb, com.yahoo.compress.CompressionType compression)
public void deconstruct()
deconstruct
in class com.yahoo.component.AbstractComponent
public Optional<CloseableChannel> getDispatchedChannel(Query query)
Copyright © 2018. All rights reserved.