Example usage for io.netty.channel DefaultFileRegion subclass-usage

List of usage examples for io.netty.channel DefaultFileRegion subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel DefaultFileRegion subclass-usage.

Usage

From source file io.blobkeeper.server.util.UnClosableFileRegion.java

public class UnClosableFileRegion extends DefaultFileRegion {

    /**
     * Create a new instance
     *
     * @param file     the {@link java.nio.channels.FileChannel} which should be transfered

From source file org.apache.tajo.pullserver.FadvisedFileRegion.java

public class FadvisedFileRegion extends DefaultFileRegion {

    private static final Log LOG = LogFactory.getLog(FadvisedFileRegion.class);

    private final boolean manageOsCache;
    private final int readaheadLength;