/// <exception cref="System.IO.IOException"/> public FadvisedChunkedFile(RandomAccessFile file, long position, long count, int chunkSize, bool manageOsCache, int readaheadLength, ReadaheadPool readaheadPool, string identifier) : base(file, position, count, chunkSize) { this.manageOsCache = manageOsCache; this.readaheadLength = readaheadLength; this.readaheadPool = readaheadPool; this.fd = file.GetFD(); this.identifier = identifier; }
/// <exception cref="System.IO.IOException"/> public FadvisedFileRegion(RandomAccessFile file, long position, long count, bool manageOsCache, int readaheadLength, ReadaheadPool readaheadPool, string identifier , int shuffleBufferSize, bool shuffleTransferToAllowed) : base(file.GetChannel(), position, count) { this.manageOsCache = manageOsCache; this.readaheadLength = readaheadLength; this.readaheadPool = readaheadPool; this.fd = file.GetFD(); this.identifier = identifier; this.fileChannel = file.GetChannel(); this.count = count; this.position = position; this.shuffleBufferSize = shuffleBufferSize; this.shuffleTransferToAllowed = shuffleTransferToAllowed; }