public class ImplicitSnitch extends Snitch
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CORES |
static String |
DISK |
static String |
DISKTYPE |
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| 构造器和说明 |
|---|
ImplicitSnitch() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 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 在类中 SnitchCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.