Modifier and Type | Field and Description |
---|---|
int |
partition |
int |
topicGroupId |
Constructor and Description |
---|
TaskId(int topicGroupId,
int partition) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TaskId other) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static TaskId |
parse(java.lang.String string) |
static TaskId |
readFrom(java.nio.ByteBuffer buf) |
static TaskId |
readFrom(java.io.DataInputStream in) |
java.lang.String |
toString() |
void |
writeTo(java.nio.ByteBuffer buf) |
void |
writeTo(java.io.DataOutputStream out) |
public java.lang.String toString()
toString
in class java.lang.Object
public static TaskId parse(java.lang.String string)
public void writeTo(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
public static TaskId readFrom(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
public void writeTo(java.nio.ByteBuffer buf)
public static TaskId readFrom(java.nio.ByteBuffer buf)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object