@InterfaceAudience.Public @InterfaceStability.Evolving public final class ErasureCodingPolicy extends Object
Constructor and Description |
---|
ErasureCodingPolicy(ECSchema schema,
int cellSize,
byte id) |
ErasureCodingPolicy(String name,
ECSchema schema,
int cellSize,
byte id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCellSize() |
String |
getCodecName() |
byte |
getId() |
String |
getName() |
int |
getNumDataUnits() |
int |
getNumParityUnits() |
ECSchema |
getSchema() |
int |
hashCode() |
String |
toString() |
public ErasureCodingPolicy(String name, ECSchema schema, int cellSize, byte id)
public ErasureCodingPolicy(ECSchema schema, int cellSize, byte id)
public int getCellSize()
public int getNumDataUnits()
public int getNumParityUnits()
public String getCodecName()
public byte getId()
Copyright © 2016 Apache Software Foundation. All rights reserved.