public class ImplicitSnitch extends Snitch
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 |
ROLE |
static String |
SYSPROP |
static Set<String> |
tags |
WELL_KNOWN_SNITCHES
Constructor and Description |
---|
ImplicitSnitch() |
Modifier and Type | Method and Description |
---|---|
String |
getHostIp(String host) |
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 SYSPROP
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.