5#ifndef EVENTCONTAINERS_InternalOfflineMap_H
6#define EVENTCONTAINERS_InternalOfflineMap_H
11#include <unordered_map>
30 virtual void wait()
const override;
36 virtual StatusCode
fetchOrCreate(
const std::vector<IdentifierHash> &hashIds)
override;
44 std::unordered_map<IdentifierHash::value_type, const void*>
m_fullMap;
Define macros for attributes used to control the static checker.
std::vector< hashPair >::const_iterator InternalConstItr
void deleter_f(const void *p)
virtual InternalConstItr indexFind(IdentifierHash hashId) const override
std::vector< I_InternalIDC::hashPair > m_map ATLAS_THREAD_SAFE
virtual InternalConstItr cend() const override
virtual size_t numberOfCollections() const override
virtual void wait() const override
virtual void cleanUp(deleter_f *deleter) noexcept override
virtual void * removeCollection(IdentifierHash hashId) override
InternalOfflineMap(size_t max)
virtual size_t fullSize() const noexcept override
virtual bool tryAddFromCache(IdentifierHash hashId, EventContainers::IDC_WriteHandleBase &lock) override
virtual ~InternalOfflineMap()=default
std::unordered_map< IdentifierHash::value_type, const void * > m_fullMap
virtual std::vector< IdentifierHash > getAllCurrentHashes() const override
virtual const void * findIndexPtr(IdentifierHash hashId) const noexcept override
virtual void destructor(deleter_f *) noexcept override
virtual const std::vector< hashPair > & getAllHashPtrPair() const override
virtual InternalConstItr cbegin() const override
virtual bool insert(IdentifierHash hashId, const void *ptr) override
virtual StatusCode fetchOrCreate(IdentifierHash hashId) override
virtual StatusCode addLock(IdentifierHash hashId, const void *ptr) override
This is a "hash" representation of an Identifier.
void deleter_f(const void *p)