public class SystemStreamMetadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SystemStreamMetadata.OffsetType
OffsetType is an enum used to define which offset should be used when
reading from a SystemStreamPartition for the first time.
|
static class |
SystemStreamMetadata.SystemStreamPartitionMetadata
Provides offset information for a given SystemStreamPartition.
|
Constructor and Description |
---|
SystemStreamMetadata(java.lang.String streamName,
java.util.Map<Partition,SystemStreamMetadata.SystemStreamPartitionMetadata> partitionMetadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStreamName() |
java.util.Map<Partition,SystemStreamMetadata.SystemStreamPartitionMetadata> |
getSystemStreamPartitionMetadata() |
int |
hashCode() |
java.lang.String |
toString() |
public SystemStreamMetadata(java.lang.String streamName, java.util.Map<Partition,SystemStreamMetadata.SystemStreamPartitionMetadata> partitionMetadata)
public java.lang.String getStreamName()
public java.util.Map<Partition,SystemStreamMetadata.SystemStreamPartitionMetadata> getSystemStreamPartitionMetadata()
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