| Package | Description |
|---|---|
| org.apache.pulsar.broker.rest |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service.nonpersistent |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service.persistent |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.transaction.buffer |
Implementation of a transaction buffer.
|
| org.apache.pulsar.broker.transaction.buffer.impl |
The implementation of a transaction buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static RestMessagePublishContext |
RestMessagePublishContext.get(CompletableFuture<PositionImpl> positionFuture,
Topic topic,
long startTimeNs) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTopic |
| Modifier and Type | Method and Description |
|---|---|
Topic |
Subscription.getTopic() |
Topic |
Producer.getTopic() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Topic> |
BrokerService.extractTopic(CompletableFuture<Optional<Topic>> topicFuture)
Safely extract optional topic instance from a future, in a way to avoid unchecked exceptions and race conditions.
|
List<Topic> |
BrokerService.getAllTopicsFromNamespaceBundle(String namespace,
String bundle) |
org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,Topic>>> |
BrokerService.getMultiLayerTopicMap() |
CompletableFuture<Topic> |
BrokerService.getOrCreateTopic(String topic) |
CompletableFuture<Optional<Topic>> |
BrokerService.getTopic(String topic,
boolean createIfMissing) |
CompletableFuture<Optional<Topic>> |
BrokerService.getTopicIfExists(String topic) |
Optional<Topic> |
BrokerService.getTopicReference(String topic)
Get a reference to a topic that is currently loaded in the broker.
|
org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,CompletableFuture<Optional<Topic>>> |
BrokerService.getTopics() |
protected CompletableFuture<Optional<Topic>> |
BrokerService.loadOrCreatePersistentTopic(String topic,
boolean createIfMissing)
It creates a topic async and returns CompletableFuture.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Topic> |
BrokerService.extractTopic(CompletableFuture<Optional<Topic>> topicFuture)
Safely extract optional topic instance from a future, in a way to avoid unchecked exceptions and race conditions.
|
void |
BrokerService.forEachTopic(Consumer<Topic> consumer)
Iterates over all loaded topics in the broker.
|
void |
PulsarStats.updateStats(org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap<String,Topic>>> topicsMap) |
| Constructor and Description |
|---|
Producer(Topic topic,
TransportCnx cnx,
long producerId,
String producerName,
String appId,
boolean isEncrypted,
Map<String,String> metadata,
org.apache.pulsar.common.protocol.schema.SchemaVersion schemaVersion,
long epoch,
boolean userProvidedProducerName,
org.apache.pulsar.common.api.proto.ProducerAccessMode accessMode,
Optional<Long> topicEpoch) |
| Modifier and Type | Class and Description |
|---|---|
class |
NonPersistentTopic |
| Modifier and Type | Method and Description |
|---|---|
Topic |
NonPersistentSubscription.getTopic() |
| Modifier and Type | Class and Description |
|---|---|
class |
PersistentTopic |
class |
SystemTopic |
| Modifier and Type | Method and Description |
|---|---|
Topic |
PersistentSubscription.getTopic() |
| Modifier and Type | Method and Description |
|---|---|
TransactionBuffer |
TransactionBufferProvider.newTransactionBuffer(Topic originTopic)
Open the persistent transaction buffer.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionBuffer |
TopicTransactionBufferProvider.newTransactionBuffer(Topic originTopic) |
TransactionBuffer |
InMemTransactionBufferProvider.newTransactionBuffer(Topic originTopic) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.