| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<String,Producer> |
AbstractTopic.producers |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Producer> |
Topic.getProducers() |
org.apache.pulsar.common.util.collections.ConcurrentLongHashMap<CompletableFuture<Producer>> |
ServerCnx.getProducers() |
Map<String,Producer> |
AbstractTopic.getProducers() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Optional<Long>> |
Topic.addProducer(Producer producer,
CompletableFuture<Void> producerQueuedFuture)
Tries to add a producer to the topic.
|
CompletableFuture<Optional<Long>> |
AbstractTopic.addProducer(Producer producer,
CompletableFuture<Void> producerQueuedFuture) |
void |
ServerCnx.closeProducer(Producer producer) |
void |
TransportCnx.closeProducer(Producer producer) |
protected void |
AbstractTopic.handleProducerRemoved(Producer producer) |
protected CompletableFuture<Optional<Long>> |
AbstractTopic.incrementTopicEpochIfNeeded(Producer producer,
CompletableFuture<Void> producerQueuedFuture) |
protected void |
AbstractTopic.internalAddProducer(Producer producer) |
protected boolean |
AbstractTopic.isSameAddressProducersExceeded(Producer producer) |
boolean |
Producer.isSuccessorTo(Producer other)
Method to determine if this producer can replace another producer.
|
void |
ServerCnx.removedProducer(Producer producer) |
void |
TransportCnx.removedProducer(Producer producer) |
void |
Topic.removeProducer(Producer producer) |
void |
AbstractTopic.removeProducer(Producer producer) |
void |
ServerCnx.startSendOperation(Producer producer,
int msgSize,
int numMessages) |
| Modifier and Type | Method and Description |
|---|---|
void |
NonPersistentTopic.removeProducer(Producer producer) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Optional<Long>> |
PersistentTopic.addProducer(Producer producer,
CompletableFuture<Void> producerQueuedFuture) |
protected void |
PersistentTopic.handleProducerRemoved(Producer producer) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.