@NotStorableClass public class RandomAccessFileDirectMapped extends RandomAccessFileDirectNio
currentPositionInFile, fileChannel, randomAccessFileHELPER_FILE_UTIL, logger, opened| Constructor and Description |
|---|
RandomAccessFileDirectMapped(File file,
int maxBufferSize,
int maxNumberOfBuffer,
int maxRetry,
int retryMsDelay) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeImpl() |
void |
flushImpl() |
long |
lengthImpl() |
void |
openImpl() |
int |
readImpl(byte[] data) |
protected int |
readImpl(byte[] data,
int offset,
int length) |
void |
seekImpl(long positionInFile) |
void |
setLengthImpl(long newSize) |
void |
writeImpl(byte[] data) |
void |
writeImpl(byte[] data,
int length) |
protected void |
writeImpl(byte[] data,
int offset,
int length) |
copy, currentPositionInFileImpl, deleteIfExistsImpl, deleteIfExistsRenamingImpl, differs, getFilebitsForValue, close, currentPositionInFile, deleteIfExists, deleteIfExistsRenaming, flush, isClose, isOpen, length, open, read, read, seek, setLength, write, write, writepublic RandomAccessFileDirectMapped(File file, int maxBufferSize, int maxNumberOfBuffer, int maxRetry, int retryMsDelay) throws FileIOException
FileIOExceptionpublic void openImpl()
throws FileIOException
openImpl in class RandomAccessFileDirectNioFileIOExceptionpublic void closeImpl()
throws FileIOException
closeImpl in class RandomAccessFileDirectNioFileIOExceptionpublic void seekImpl(long positionInFile)
throws FileIOException
seekImpl in class RandomAccessFileDirectNioFileIOExceptionpublic void flushImpl()
throws FileIOException
flushImpl in class RandomAccessFileDirectNioFileIOExceptionpublic long lengthImpl()
throws FileIOException
lengthImpl in class RandomAccessFileDirectNioFileIOExceptionpublic void setLengthImpl(long newSize)
throws FileIOException
setLengthImpl in class RandomAccessFileDirectNioFileIOExceptionpublic int readImpl(byte[] data)
throws FileIOException
readImpl in class RandomAccessFileDirectNioFileIOExceptionprotected int readImpl(byte[] data,
int offset,
int length)
throws FileIOException
readImpl in class RandomAccessFileDirectNioFileIOExceptionpublic void writeImpl(byte[] data)
throws FileIOException
writeImpl in class RandomAccessFileDirectNioFileIOExceptionpublic void writeImpl(byte[] data,
int length)
throws FileIOException
writeImpl in class RandomAccessFileDirectNioFileIOExceptionprotected void writeImpl(byte[] data,
int offset,
int length)
throws FileIOException
writeImpl in class RandomAccessFileDirectNioFileIOExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.