Package org.apache.bookkeeper.bookie
Interface HandleFactory
-
- All Known Implementing Classes:
HandleFactoryImpl
interface HandleFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LedgerDescriptor
getHandle(long ledgerId, byte[] masterKey, boolean journalReplay)
LedgerDescriptor
getReadOnlyHandle(long ledgerId)
-
-
-
Method Detail
-
getHandle
LedgerDescriptor getHandle(long ledgerId, byte[] masterKey, boolean journalReplay) throws java.io.IOException, BookieException
- Throws:
java.io.IOException
BookieException
-
getReadOnlyHandle
LedgerDescriptor getReadOnlyHandle(long ledgerId) throws java.io.IOException, Bookie.NoLedgerException
- Throws:
java.io.IOException
Bookie.NoLedgerException
-
-