public static class SearchCluster.Node extends Object
Constructor and Description |
---|
Node(int key,
String hostname,
int fs4port,
int group) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
fs4port() |
long |
getActiveDocuments()
Returns the active documents on this node.
|
int |
group()
Returns the id of this group this node belongs to
|
int |
hashCode() |
String |
hostname() |
boolean |
isWorking()
Returns whether this node is currently responding to requests
|
int |
key()
Returns the unique and stable distribution key of this node
|
String |
toString() |
public Node(int key, String hostname, int fs4port, int group)
public int key()
public String hostname()
public int fs4port()
public int group()
public boolean isWorking()
public long getActiveDocuments()
Copyright © 2018. All rights reserved.