public class ServerSnitchContext extends SnitchContext
SnitchContext.SnitchInfoexception, snitchInfo| Constructor and Description |
|---|
ServerSnitchContext(SnitchContext.SnitchInfo perSnitch,
String node,
Map<String,Object> session,
CoreContainer coreContainer) |
| Modifier and Type | Method and Description |
|---|---|
Map |
getZkJson(String path) |
SimpleSolrResponse |
invoke(String solrNode,
String path,
SolrParams params) |
void |
invokeRemote(String node,
ModifiableSolrParams params,
String klas,
RemoteCallback callback) |
getErrMsg, getNode, getTags, remoteCallback, retrieve, storepublic ServerSnitchContext(SnitchContext.SnitchInfo perSnitch, String node, Map<String,Object> session, CoreContainer coreContainer)
public Map getZkJson(String path) throws org.apache.zookeeper.KeeperException, InterruptedException
getZkJson in class SnitchContextorg.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic void invokeRemote(String node, ModifiableSolrParams params, String klas, RemoteCallback callback)
invokeRemote in class SnitchContextpublic SimpleSolrResponse invoke(String solrNode, String path, SolrParams params) throws IOException, SolrServerException
IOExceptionSolrServerExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.