All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hadoop.fs.cosn.buffer.CosNNonDirectBuffer Maven / Gradle / Ivy

Go to download

This module contains code to support integration with Tencent Cloud COS. It also declares the dependencies needed to work with COS.

There is a newer version: 8.2.7
Show newest version
package org.apache.hadoop.fs.cosn.buffer;

import java.nio.ByteBuffer;

/**
 * The direct buffer based on the JVM heap memory.
 */
class CosNNonDirectBuffer extends CosNByteBuffer {

    public CosNNonDirectBuffer(ByteBuffer byteBuffer) {
        super(byteBuffer);
    }

    @Override
    protected boolean isDirect() {
        return false;
    }

    @Override
    protected boolean isMapped() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy