public class ReadOnlyDataFile extends DataFile
dataFileId, file, length, preferedSize, referenceCount
next, prev, tail
Modifier and Type | Method and Description |
---|---|
void |
closeRandomAccessFile(RandomAccessFile file) |
boolean |
delete() |
void |
move(File targetDirectory) |
RandomAccessFile |
openRandomAccessFile(boolean appender) |
compareTo, decrement, equals, getDataFileId, getLength, getReferenceCount, hashCode, increment, incrementLength, isUnused, setLength, toString
getHeadNode, getNext, getPrevious, getTailNode, isHeadNode, isTailNode, linkAfter, linkBefore, reset, unlink
public RandomAccessFile openRandomAccessFile(boolean appender) throws IOException
openRandomAccessFile
in class DataFile
IOException
public void closeRandomAccessFile(RandomAccessFile file) throws IOException
closeRandomAccessFile
in class DataFile
IOException
public boolean delete() throws IOException
delete
in class DataFile
IOException
public void move(File targetDirectory) throws IOException
move
in class DataFile
IOException
Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.