Example usage for org.apache.hadoop.io.erasurecode.rawcoder RawErasureCoderFactory interface-usage

List of usage examples for org.apache.hadoop.io.erasurecode.rawcoder RawErasureCoderFactory interface-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.io.erasurecode.rawcoder RawErasureCoderFactory interface-usage.

Usage

From source file com.mellanox.erasurecode.rawcoder.MellanoxRSRawErasureCoderFactory.java

public class MellanoxRSRawErasureCoderFactory implements RawErasureCoderFactory {

    @Override
    public RawErasureEncoder createEncoder(int numDataUnits, int numParityUnits) {
        return new MellanoxRSRawEncoder(numDataUnits, numParityUnits);
    }