| Package | Description |
|---|---|
| org.apache.pulsar.broker.cache |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ZooKeeperDataCache<NamespaceEphemeralData> |
LocalZooKeeperCacheService.ownerInfoCache() |
| Constructor and Description |
|---|
LookupResult(NamespaceEphemeralData namespaceEphemeralData) |
LookupResult(NamespaceEphemeralData namespaceEphemeralData,
String nativeUrl,
String nativeUrlTls) |
| Modifier and Type | Method and Description |
|---|---|
static NamespaceEphemeralData |
ServiceUnitZkUtils.acquireNameSpace(ZooKeeper zkc,
String path,
NamespaceEphemeralData value)
Create name space Ephemeral node.
|
NamespaceEphemeralData |
OwnershipCache.getSelfOwnerInfo() |
| 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 |
| Modifier and Type | Method and Description |
|---|---|
static NamespaceEphemeralData |
ServiceUnitZkUtils.acquireNameSpace(ZooKeeper zkc,
String path,
NamespaceEphemeralData value)
Create name space Ephemeral node.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.