public class ImplicitSnitch extends Snitch implements CoreAdminHandler.Invocable
Modifier and Type | Field and Description |
---|---|
static String |
CORES |
static String |
DISK |
static String |
HOST |
static Pattern |
hostAndPortPattern |
static List<String> |
IP_SNITCHES |
static String |
NODE |
static String |
PORT |
static String |
SYSPROP |
static Set<String> |
tags |
Constructor and Description |
---|
ImplicitSnitch() |
Modifier and Type | Method and Description |
---|---|
protected String |
getHostIp(String host) |
void |
getTags(String solrNode,
Set<String> requestedTags,
SnitchContext ctx) |
Map<String,Object> |
invoke(SolrQueryRequest req) |
boolean |
isKnownTag(String tag) |
public static final Pattern hostAndPortPattern
public static final String NODE
public static final String PORT
public static final String HOST
public static final String CORES
public static final String DISK
public static final String SYSPROP
public void getTags(String solrNode, Set<String> requestedTags, SnitchContext ctx)
public Map<String,Object> invoke(SolrQueryRequest req)
invoke
in interface CoreAdminHandler.Invocable
public boolean isKnownTag(String tag)
isKnownTag
in class Snitch
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.