Package org.apache.bookkeeper.bookie
Class ReadOnlyFileInfo
- java.lang.Object
-
- org.apache.bookkeeper.common.util.Watchable<LastAddConfirmedUpdateNotification>
-
- org.apache.bookkeeper.bookie.FileInfo
-
- org.apache.bookkeeper.bookie.ReadOnlyFileInfo
-
- All Implemented Interfaces:
Recyclable
class ReadOnlyFileInfo extends FileInfo
Provide a readonly file info.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.bookkeeper.bookie.FileInfo
FileInfo.FileInfoDeletedException
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.bookie.FileInfo
CURRENT_HEADER_VERSION, headerVersion, masterKey, mode, NO_MASTER_KEY, SIGNATURE, START_OF_DATA, STATE_FENCED_BIT, V0, V1
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyFileInfo(java.io.File lf, byte[] masterKey)
-
Method Summary
-
Methods inherited from class org.apache.bookkeeper.bookie.FileInfo
cancelWaitForLastAddConfirmedUpdate, checkOpen, close, delete, flushHeader, getExplicitLac, getLastAddConfirmed, getLf, getMasterKey, getSizeSinceLastWrite, isClosed, isDeleted, isFenced, isSameFile, moveToNewLocation, read, readHeader, setExplicitLac, setFenced, setLastAddConfirmed, size, waitForLastAddConfirmedUpdate, write
-
Methods inherited from class org.apache.bookkeeper.common.util.Watchable
addWatcher, deleteWatcher, deleteWatchers, notifyWatchers, recycle
-
-