Package org.apache.bookkeeper.meta
Class NullMetadataBookieDriver.NullLayoutManager
java.lang.Object
org.apache.bookkeeper.meta.NullMetadataBookieDriver.NullLayoutManager
- All Implemented Interfaces:
LayoutManager
- Enclosing class:
- NullMetadataBookieDriver
public static class NullMetadataBookieDriver.NullLayoutManager
extends Object
implements LayoutManager
A no-op implementation of LayoutManager.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.bookkeeper.meta.LayoutManager
LayoutManager.LedgerLayoutExistsException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete ledger layout.Return the ledger layout.voidstoreLedgerLayout(LedgerLayout layout) Store the ledger layout.
-
Constructor Details
-
NullLayoutManager
public NullLayoutManager()
-
-
Method Details
-
readLedgerLayout
Description copied from interface:LayoutManagerReturn the ledger layout.- Specified by:
readLedgerLayoutin interfaceLayoutManager- Returns:
- the ledger layout
-
storeLedgerLayout
Description copied from interface:LayoutManagerStore the ledger layout.- Specified by:
storeLedgerLayoutin interfaceLayoutManager- Parameters:
layout- ledger layout
-
deleteLedgerLayout
public void deleteLedgerLayout()Description copied from interface:LayoutManagerDelete ledger layout.- Specified by:
deleteLedgerLayoutin interfaceLayoutManager
-