public class Partition extends Object implements ISpoutPartition, Serializable
Constructor and Description |
---|
Partition(Broker host,
String topic,
int partition) |
Partition(Broker host,
String topic,
int partition,
Boolean bUseTopicNameForPartitionPathId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
This is used as a Zookeeper node path for storing metadata.
|
int |
hashCode() |
String |
toString() |
public String getId()
ISpoutPartition
This is used as a Zookeeper node path for storing metadata.
getId
in interface ISpoutPartition
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.