Package net.sf.joafip.file.service

Examples of net.sf.joafip.file.service.RandomAccessFileDirectMapped


        randomAccessFile = new RandomAccessFileDirectNio(file,
            fileAccessParameter.getMaxRetry(),
            fileAccessParameter.getRetryMsDelay());
        break;
      case MAPPED_RANDOM_FILE_ACCESS:
        randomAccessFile = new RandomAccessFileDirectMapped(file,
            fileAccessParameter.getMaxBufferSize(),
            fileAccessParameter.getMaxNumberOfBuffer(),
            fileAccessParameter.getMaxRetry(),
            fileAccessParameter.getRetryMsDelay());
        break;
View Full Code Here


*/
public class FileInputStreamMapped extends AbstractFileInputStreamOnRandomFile {

  public FileInputStreamMapped(final File file, final int maxBufferSize)
      throws IOException, FileIOException {
    super(new RandomAccessFileDirectMapped(file, maxBufferSize,
        1/* maxNumberOfBuffer */, 1/* maxRetry */, 0/* retryMsDelay */));
  }
 
View Full Code Here

    AbstractFileOutputStreamOnRandomFile {

  public FileOutputStreamMapped(final File file, final boolean append,
      final int maxBufferSize) throws FileNotFoundException,
      FileIOException {
    super(new RandomAccessFileDirectMapped(file, maxBufferSize,
        1/* maxNumberOfBuffer */, 1/* maxRetry */, 0/* retryMsDelay */),
        append);
  }
 
View Full Code Here

TOP

Related Classes of net.sf.joafip.file.service.RandomAccessFileDirectMapped

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.