|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.kafka.common.Node
public class Node
Information about a Kafka node
| Constructor Summary | |
|---|---|
Node(int id,
java.lang.String host,
int port)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
host()
The host name for this node |
int |
id()
The node id of this node |
int |
port()
The port for this node |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Node(int id,
java.lang.String host,
int port)
| Method Detail |
|---|
public int id()
public java.lang.String host()
public int port()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||