22#ifndef KINETICIO_REDUNDANCYPROVIDER_HH
23#define KINETICIO_REDUNDANCYPROVIDER_HH
31#include <unordered_map>
67 std::vector<unsigned char>
table;
95 const std::string& pattern
107 std::unordered_map<std::string, CodingTable>
cache;
Definition XrdEcRedundancyProvider.hh:41
std::unordered_map< std::string, CodingTable > cache
a cache of previously used coding tables
Definition XrdEcRedundancyProvider.hh:107
std::vector< unsigned char > encode_matrix
the encoding matrix, required to compute any decode matrix
Definition XrdEcRedundancyProvider.hh:105
RedundancyProvider(const ObjCfg &objcfg)
void compute(stripes_t &stripes)
CodingTable & getCodingTable(const std::string &pattern)
std::string getErrorPattern(stripes_t &stripes) const
std::mutex mutex
concurrency control
Definition XrdEcRedundancyProvider.hh:109
void replication(stripes_t &stripes)
ObjCfg objcfg
Definition XrdEcRedundancyProvider.hh:102
Definition XrdClZipArchive.hh:45
std::vector< stripe_t > stripes_t
All stripes in a block.
Definition XrdEcUtilities.hh:64
Definition XrdEcObjCfg.hh:34
Definition XrdEcRedundancyProvider.hh:65
std::vector< unsigned char > table
the coding table
Definition XrdEcRedundancyProvider.hh:67
std::vector< unsigned int > blockIndices
array of nData size, containing stripe indices to input blocks
Definition XrdEcRedundancyProvider.hh:69
int nErrors
Number of errors this coding table is constructed for (maximum==nParity)
Definition XrdEcRedundancyProvider.hh:71