public class TaskName extends java.lang.Object implements java.lang.Comparable<TaskName>
SystemStreamPartitionGrouper
. The
SystemStreamPartitionGrouper determines the TaskName for each set it creates. The TaskName class
should only contain the taskName. This is necessary because the ChangelogManager assumes that the taskName is
unique enough to identify this class, and uses it to store it in the underlying coordinator stream (as a key).Constructor and Description |
---|
TaskName(java.lang.String taskName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TaskName that) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getTaskName() |
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String getTaskName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object