public final class TopicPartition
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TopicPartition(java.lang.String topic,
int partition) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
partition() |
java.lang.String |
topic() |
java.lang.String |
toString() |
public int partition()
public java.lang.String topic()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object