public class ImplicitSnitch extends Snitch
Modifier and Type | Field and Description |
---|---|
static String |
CORES |
static String |
DISK |
static String |
HEAPUSAGE |
static String |
HOST |
static Pattern |
hostAndPortPattern |
static List<String> |
IP_SNITCHES |
static String |
NODE |
static String |
NODEROLE |
static String |
PORT |
static String |
ROLE |
static String |
SYSLOADAVG |
static String |
SYSPROP |
static Set<String> |
tags |
WELL_KNOWN_SNITCHES
Constructor and Description |
---|
ImplicitSnitch() |
Modifier and Type | Method and Description |
---|---|
String |
getHostIp(String host) |
protected void |
getRemoteInfo(String solrNode,
Set<String> requestedTags,
SnitchContext ctx) |
void |
getTags(String solrNode,
Set<String> requestedTags,
SnitchContext ctx) |
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 ROLE
public static final String NODEROLE
public static final String SYSPROP
public static final String SYSLOADAVG
public static final String HEAPUSAGE
public void getTags(String solrNode, Set<String> requestedTags, SnitchContext ctx)
protected void getRemoteInfo(String solrNode, Set<String> requestedTags, SnitchContext ctx)
public boolean isKnownTag(String tag)
isKnownTag
in class Snitch
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.