Skip to content

Commit 7cd9410

Browse files
authored
[refactor][broker] Expose the managedLedger field for the sub class (apache#24448)
1 parent 5841238 commit 7cd9410

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ public class ManagedLedgerImpl implements ManagedLedger, CreateCallback {
219219
* This lock is held while the ledgers list or propertiesMap is updated asynchronously on the metadata store.
220220
* Since we use the store version, we cannot have multiple concurrent updates.
221221
*/
222-
private final CallbackMutex metadataMutex = new CallbackMutex();
223-
private final CallbackMutex trimmerMutex = new CallbackMutex();
222+
protected final CallbackMutex metadataMutex = new CallbackMutex();
223+
protected final CallbackMutex trimmerMutex = new CallbackMutex();
224224

225-
private final CallbackMutex offloadMutex = new CallbackMutex();
225+
protected final CallbackMutex offloadMutex = new CallbackMutex();
226226
public static final CompletableFuture<Position> NULL_OFFLOAD_PROMISE = CompletableFuture
227227
.completedFuture(PositionFactory.LATEST);
228228
@VisibleForTesting

0 commit comments

Comments
 (0)