public class ReadOnlyDataFile extends DataFile
appendRandomAccessFile, corruptedBlocks, dataFileId, file, length, STANDARD_LOG_FILE, typeCodelist, next, prev| Modifier and Type | Method and Description |
|---|---|
void |
closeRandomAccessFile(RandomAccessFile file) |
boolean |
delete() |
void |
move(File targetDirectory) |
RandomAccessFile |
openRandomAccessFile(boolean appender) |
appendRandomAccessFile, closeRandomAccessFile, compareTo, decrementLength, equals, getCorruptedBlocks, getDataFileId, getFile, getLength, getTypeCode, hashCode, incrementLength, openRandomAccessFile, setLength, setTypeCode, toStringgetHeadNode, getList, getNext, getNextCircular, getPrevious, getPreviousCircular, getTailNode, isHeadNode, isLinked, isTailNode, linkAfter, linkAfter, linkBefore, linkBefore, linkToHead, linkToTail, splitAfter, splitBefore, unlinkpublic RandomAccessFile openRandomAccessFile(boolean appender) throws IOException
IOExceptionpublic void closeRandomAccessFile(RandomAccessFile file) throws IOException
IOExceptionpublic boolean delete() throws IOException
delete in class DataFileIOExceptionpublic void move(File targetDirectory) throws IOException
move in class DataFileIOExceptionCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.