public abstract class AbstractPartition extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractPartition.PartitionType
Represents partition type in pulsar.
|
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPartition.PartitionType |
partitionType |
protected String |
topic |
| Constructor and Description |
|---|
AbstractPartition(String topic,
AbstractPartition.PartitionType partitionType) |
| Modifier and Type | Method and Description |
|---|---|
AbstractPartition.PartitionType |
getPartitionType() |
String |
getTopic() |
protected final String topic
protected final AbstractPartition.PartitionType partitionType
public AbstractPartition(String topic, AbstractPartition.PartitionType partitionType)
public String getTopic()
public AbstractPartition.PartitionType getPartitionType()
Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.