public class ServerSnitchContext extends SnitchContext
SnitchContext.SnitchInfo
exception, 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, store
public ServerSnitchContext(SnitchContext.SnitchInfo perSnitch, String node, Map<String,Object> session, CoreContainer coreContainer)
public Map getZkJson(String path)
getZkJson
in class SnitchContext
public void invokeRemote(String node, ModifiableSolrParams params, String klas, RemoteCallback callback)
invokeRemote
in class SnitchContext
public SimpleSolrResponse invoke(UpdateShardHandler shardHandler, String url, String path, SolrParams params) throws IOException, SolrServerException
IOException
SolrServerException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.