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(UpdateShardHandler shardHandler,
String url,
String path,
SolrParams params) |
void |
invokeRemote(String node,
ModifiableSolrParams params,
String klas,
RemoteCallback callback) |
getErrMsg, getNode, getSnitchInfo, getTags, remoteCallback, retrieve, storepublic ServerSnitchContext(SnitchContext.SnitchInfo perSnitch, String node, Map<String,Object> session, CoreContainer coreContainer)
public Map getZkJson(String path)
getZkJson in class SnitchContextpublic void invokeRemote(String node, ModifiableSolrParams params, String klas, RemoteCallback callback)
invokeRemote in class SnitchContextpublic SimpleSolrResponse invoke(UpdateShardHandler shardHandler, String url, String path, SolrParams params) throws IOException, SolrServerException
IOExceptionSolrServerExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.