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 java.lang.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 Constructor Description NullLayoutManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteLedgerLayout()Delete ledger layout.LedgerLayoutreadLedgerLayout()Return the ledger layout.voidstoreLedgerLayout(LedgerLayout layout)Store the ledger layout.
-
-
-
Method Detail
-
readLedgerLayout
public LedgerLayout readLedgerLayout()
Description copied from interface:LayoutManagerReturn the ledger layout.- Specified by:
readLedgerLayoutin interfaceLayoutManager- Returns:
- the ledger layout
-
storeLedgerLayout
public void storeLedgerLayout(LedgerLayout layout)
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
-
-