This class is a thread-safe associative collection connecting a 256 bits digest/hash to a collection of uid (integer) This is used in the handling of the StreamerInfo record in TFile.
Definition at line 30 of file RConcurrentHashColl.hxx.
Classes | |
class | HashValue |
Public Member Functions | |
RConcurrentHashColl () | |
~RConcurrentHashColl () | |
const RUidColl * | Find (const HashValue &hash) const |
Return true if the hash is already in already there. | |
bool | Insert (const HashValue &hash, RUidColl &&coll) const |
If the hash is there, return false. Otherwise, insert the hash and return true;. | |
Static Public Member Functions | |
static HashValue | Hash (char *buf, int len) |
Return the hash object corresponding to the buffer. | |
Private Attributes | |
std::unique_ptr< RHashMap > | fHashMap |
std::unique_ptr< ROOT::TRWSpinLock > | fRWLock |
#include <ROOT/RConcurrentHashColl.hxx>
ROOT::Internal::RConcurrentHashColl::RConcurrentHashColl | ( | ) |
Definition at line 41 of file RConcurrentHashColl.cxx.
|
default |
Return true if the hash is already in already there.
Definition at line 47 of file RConcurrentHashColl.cxx.
|
static |
Return the hash object corresponding to the buffer.
If the buffer is there, return false. Otherwise, insert the hash and return true.
Definition at line 58 of file RConcurrentHashColl.cxx.
If the hash is there, return false. Otherwise, insert the hash and return true;.
If the buffer is there, return false. Otherwise, insert the hash and return true.
Definition at line 64 of file RConcurrentHashColl.cxx.
|
mutableprivate |
Definition at line 32 of file RConcurrentHashColl.hxx.
|
mutableprivate |
Definition at line 33 of file RConcurrentHashColl.hxx.