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 void
deleteLedgerLayout()
Delete ledger layout.LedgerLayout
readLedgerLayout()
Return the ledger layout.void
storeLedgerLayout(LedgerLayout layout)
Store the ledger layout.
-
-
-
Method Detail
-
readLedgerLayout
public LedgerLayout readLedgerLayout()
Description copied from interface:LayoutManager
Return the ledger layout.- Specified by:
readLedgerLayout
in interfaceLayoutManager
- Returns:
- the ledger layout
-
storeLedgerLayout
public void storeLedgerLayout(LedgerLayout layout)
Description copied from interface:LayoutManager
Store the ledger layout.- Specified by:
storeLedgerLayout
in interfaceLayoutManager
- Parameters:
layout
- ledger layout
-
deleteLedgerLayout
public void deleteLedgerLayout()
Description copied from interface:LayoutManager
Delete ledger layout.- Specified by:
deleteLedgerLayout
in interfaceLayoutManager
-
-