CreateCompoundID(objects::CScope& scope,
constobjects::CSeq_id& seq_id,
const string& remote_path);
68 boolIsCacheGood()
const;
72 voidGetMissingRegions(
const TSeqRange& range, vector<TSeqRange>& missing_ranges);
78 voidx_ReadMap(
ICache& icache,
string&
tag,
string& remote_path,
string& last_modified, time_t& last_checked,
string&
md5,
bm::bvector<>& bv,
bm::word_t* tb = 0);
80 voidx_CheckRemoteData();
87 size_tm_DataSize = 0;
92time_t m_LastChecked = 0;
93 boolm_IsCacheGood =
true;
104 return "GraphCache";
108 constobjects::CSeq_id& seq_id,
109 const string& remote_path);
Serialization / compression of bvector<>. Set theoretical operations on compressed BLOBs.
Sparse constainer sparse_vector<> for integer types using bit-transposition transform.
vector< SStatStruct > TStatVec
Base64-encoded ID string that contains extractable typed fields.
void UpdateAlignStats(const TSeqRange &range, float window, CAlnStatGlyph::TStatVec &stats)
CPileUpGraph(const string &data_key)
static string CreateCacheKey(objects::CScope &scope, const objects::CSeq_id &seq_id, const string &remote_path)
CPileUpGraph.
int GetNumberOfReads(const TSeqRange &range)
static string GetStorageName()
string m_RemotePath
path to remote data or srz accession
string m_NetCacheKey
data access key
bool IsCacheGood() const
inline methods
map< string, vector< TValType > * > TUpdateMap
string m_LastModified
timestamp of the remote data last modified date as reported by www server
mutex m_DataMutex
data access mutex
map< string, unique_ptr< TSparseVector > > m_Data
map of sprasvectors, the key is used as a part of suffix of NetCache key (m_NetCacheKey + "_" + this ...
string m_SeqId
NCBI seq_id, e.g. NC_000001.
bm::sparse_vector< TValType, bm::bvector<> > TSparseVector
bm::bvector m_DataMap
bvector shows the regions m_Data exist
bool m_IsCacheGood
false value indicates that remote data were updated and the cache was reset
string m_SessionTag
A current session tag, used to separate session netcache blobs from the blobs saved by other sessions...
BLOB cache read/write/maintenance interface.
succinct sparse vector with runtime compression using bit-slicing / transposition method
Declarations of CCompoundIDPool, CCompoundID, and CCompoundIDField.
static void md5(const char *src, const char *out)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
Compressed bitset (entry point to bm.h)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4