| Package | Description |
|---|---|
| org.apache.pulsar.broker.lookup |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.namespace |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Constructor and Description |
|---|
LookupResult(NamespaceEphemeralData namespaceEphemeralData) |
LookupResult(NamespaceEphemeralData namespaceEphemeralData,
String nativeUrl,
String nativeUrlTls) |
| Modifier and Type | Method and Description |
|---|---|
Optional<NamespaceEphemeralData> |
NamespaceService.getOwner(NamespaceBundle bundle) |
CompletableFuture<Optional<NamespaceEphemeralData>> |
OwnershipCache.getOwnerAsync(NamespaceBundle suName)
Method to get the current owner of the
ServiceUnit. |
CompletableFuture<Optional<NamespaceEphemeralData>> |
NamespaceService.getOwnerAsync(NamespaceBundle bundle) |
CompletableFuture<NamespaceEphemeralData> |
OwnershipCache.tryAcquiringOwnership(NamespaceBundle bundle)
Method to get the current owner of the
ServiceUnit or set the local broker as the owner if absent. |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.