public class RpcResourcePool extends Object
FillInvoker
objects that communicate with content nodes over RPC. It also contains
the RPC connection pool.Modifier and Type | Field and Description |
---|---|
static com.yahoo.processing.request.CompoundName |
dispatchCompression
The compression method which will be used with rpc dispatch.
|
Constructor and Description |
---|
RpcResourcePool(com.yahoo.search.dispatch.Client client,
Map<Integer,com.yahoo.search.dispatch.Client.NodeConnection> nodeConnections) |
RpcResourcePool(com.yahoo.vespa.config.search.DispatchConfig dispatchConfig) |
Modifier and Type | Method and Description |
---|---|
com.yahoo.search.dispatch.Client |
client() |
com.yahoo.compress.Compressor |
compressor() |
FillInvoker |
getFillInvoker(DocumentDatabase documentDb) |
Optional<FillInvoker> |
getFillInvoker(Query query,
VespaBackEndSearcher searcher,
DocumentDatabase documentDb) |
com.google.common.collect.ImmutableMap<Integer,com.yahoo.search.dispatch.Client.NodeConnection> |
nodeConnections() |
void |
release() |
public static final com.yahoo.processing.request.CompoundName dispatchCompression
public RpcResourcePool(com.yahoo.search.dispatch.Client client, Map<Integer,com.yahoo.search.dispatch.Client.NodeConnection> nodeConnections)
public RpcResourcePool(com.yahoo.vespa.config.search.DispatchConfig dispatchConfig)
public Optional<FillInvoker> getFillInvoker(Query query, VespaBackEndSearcher searcher, DocumentDatabase documentDb)
public FillInvoker getFillInvoker(DocumentDatabase documentDb)
public com.yahoo.compress.Compressor compressor()
public com.yahoo.search.dispatch.Client client()
public com.google.common.collect.ImmutableMap<Integer,com.yahoo.search.dispatch.Client.NodeConnection> nodeConnections()
public void release()
Copyright © 2018. All rights reserved.