public static class SystemStreamMetadata.SystemStreamPartitionMetadata
extends java.lang.Object
Constructor and Description |
---|
SystemStreamMetadata.SystemStreamPartitionMetadata(java.lang.String oldestOffset,
java.lang.String newestOffset,
java.lang.String upcomingOffset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNewestOffset() |
java.lang.String |
getOffset(SystemStreamMetadata.OffsetType offsetType) |
java.lang.String |
getOldestOffset() |
java.lang.String |
getUpcomingOffset() |
int |
hashCode() |
java.lang.String |
toString() |
public SystemStreamMetadata.SystemStreamPartitionMetadata(java.lang.String oldestOffset, java.lang.String newestOffset, java.lang.String upcomingOffset)
public java.lang.String getOldestOffset()
public java.lang.String getNewestOffset()
public java.lang.String getUpcomingOffset()
public java.lang.String getOffset(SystemStreamMetadata.OffsetType offsetType)
offsetType
- The type of offset to get. Either oldest, newest, or upcoming.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