NCBI C++ ToolKit
|
Search Toolkit Book for CReaderRequestResult
#include <objtools/data_loaders/genbank/impl/request_result.hpp>
Public Types | |
typedef string | TKeySeq_ids |
typedef CSeq_id_Handle | TKeySeq_ids2 |
typedef pair< CSeq_id_Handle, string > | TKeyBlob_ids |
typedef CBlob_id | TKeyBlobState |
typedef CBlob_id | TKeyBlob |
typedef size_t | TLevel |
typedef CGBInfoManager::TBlobVersion | TBlobVersion |
typedef CGBInfoManager::TBlobState | TBlobState |
typedef GBL::CInfo_Base::TExpirationTime | TExpirationTime |
typedef CGBInfoManager::TCacheSeqIds::TInfoLock | TInfoLockIds |
typedef CGBInfoManager::TSequenceAcc | TSequenceAcc |
typedef CGBInfoManager::TCacheAcc::TInfoLock | TInfoLockAcc |
typedef CGBInfoManager::TSequenceGi | TSequenceGi |
typedef CGBInfoManager::TCacheGi::TInfoLock | TInfoLockGi |
typedef CGBInfoManager::TCacheLabel::TInfoLock | TInfoLockLabel |
typedef CGBInfoManager::TTaxId | TTaxId |
typedef CGBInfoManager::TCacheTaxId::TInfoLock | TInfoLockTaxId |
typedef CGBInfoManager::TSequenceHash | TSequenceHash |
typedef CGBInfoManager::TCacheHash::TInfoLock | TInfoLockHash |
typedef CGBInfoManager::TSequenceLength | TSequenceLength |
typedef CGBInfoManager::TCacheLength::TInfoLock | TInfoLockLength |
typedef CGBInfoManager::TSequenceType | TSequenceType |
typedef CGBInfoManager::TCacheType::TInfoLock | TInfoLockType |
typedef CGBInfoManager::TCacheBlobIds::TInfoLock | TInfoLockBlobIds |
typedef CGBInfoManager::TCacheBlobState::TInfoLock | TInfoLockBlobState |
typedef CGBInfoManager::TCacheBlobVersion::TInfoLock | TInfoLockBlobVersion |
typedef CGBInfoManager::TCacheBlob::TInfoLock | TInfoLockBlob |
typedef vector< CBlob_id > | TLoadedBlob_ids |
typedef CTSE_Lock | TTSE_Lock |
typedef set< TTSE_Lock > | TTSE_LockSet |
typedef int | TConn |
Static Public Member Functions | |
static TKeyBlob_ids | s_KeyBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel) |
Private Member Functions | |
void | x_AddTSE_LoadLock (const CTSE_LoadLock &lock) |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
CReaderRequestResult (const CReaderRequestResult &) | |
CReaderRequestResult & | operator= (const CReaderRequestResult &) |
Friends | |
class | CLoadLockBlob |
class | CLoadLockSetter |
class | CReaderAllocatedConnection |
class | CReaderRequestResultRecursion |
Definition at line 1000 of file request_result.hpp.
Definition at line 1020 of file request_result.hpp.
Definition at line 1019 of file request_result.hpp.
typedef int CReaderRequestResult::TConn |
Definition at line 1209 of file request_result.hpp.
typedef GBL::CInfo_Base::TExpirationTime CReaderRequestResult::TExpirationTime |
Definition at line 1021 of file request_result.hpp.
typedef CGBInfoManager::TCacheAcc::TInfoLock CReaderRequestResult::TInfoLockAcc |
Definition at line 1031 of file request_result.hpp.
typedef CGBInfoManager::TCacheBlob::TInfoLock CReaderRequestResult::TInfoLockBlob |
Definition at line 1046 of file request_result.hpp.
typedef CGBInfoManager::TCacheBlobIds::TInfoLock CReaderRequestResult::TInfoLockBlobIds |
Definition at line 1043 of file request_result.hpp.
typedef CGBInfoManager::TCacheBlobState::TInfoLock CReaderRequestResult::TInfoLockBlobState |
Definition at line 1044 of file request_result.hpp.
typedef CGBInfoManager::TCacheBlobVersion::TInfoLock CReaderRequestResult::TInfoLockBlobVersion |
Definition at line 1045 of file request_result.hpp.
typedef CGBInfoManager::TCacheGi::TInfoLock CReaderRequestResult::TInfoLockGi |
Definition at line 1033 of file request_result.hpp.
typedef CGBInfoManager::TCacheHash::TInfoLock CReaderRequestResult::TInfoLockHash |
Definition at line 1038 of file request_result.hpp.
typedef CGBInfoManager::TCacheSeqIds::TInfoLock CReaderRequestResult::TInfoLockIds |
Definition at line 1029 of file request_result.hpp.
typedef CGBInfoManager::TCacheLabel::TInfoLock CReaderRequestResult::TInfoLockLabel |
Definition at line 1034 of file request_result.hpp.
typedef CGBInfoManager::TCacheLength::TInfoLock CReaderRequestResult::TInfoLockLength |
Definition at line 1040 of file request_result.hpp.
typedef CGBInfoManager::TCacheTaxId::TInfoLock CReaderRequestResult::TInfoLockTaxId |
Definition at line 1036 of file request_result.hpp.
typedef CGBInfoManager::TCacheType::TInfoLock CReaderRequestResult::TInfoLockType |
Definition at line 1042 of file request_result.hpp.
Definition at line 1017 of file request_result.hpp.
typedef pair<CSeq_id_Handle, string> CReaderRequestResult::TKeyBlob_ids |
Definition at line 1015 of file request_result.hpp.
Definition at line 1016 of file request_result.hpp.
Definition at line 1013 of file request_result.hpp.
Definition at line 1014 of file request_result.hpp.
typedef size_t CReaderRequestResult::TLevel |
Definition at line 1018 of file request_result.hpp.
typedef vector<CBlob_id> CReaderRequestResult::TLoadedBlob_ids |
Definition at line 1194 of file request_result.hpp.
Definition at line 1030 of file request_result.hpp.
Definition at line 1032 of file request_result.hpp.
Definition at line 1037 of file request_result.hpp.
Definition at line 1039 of file request_result.hpp.
Definition at line 1041 of file request_result.hpp.
Definition at line 1035 of file request_result.hpp.
Definition at line 1201 of file request_result.hpp.
Definition at line 1202 of file request_result.hpp.
CReaderRequestResult::CReaderRequestResult | ( | const CSeq_id_Handle & | requested_id, |
CReadDispatcher & | dispatcher, | ||
CGBInfoManager & | manager | ||
) |
Definition at line 784 of file request_result.cpp.
|
virtual |
Definition at line 839 of file request_result.cpp.
References _ASSERT, m_AllocatedConnection, and ReleaseLocks().
|
private |
|
inline |
Definition at line 1218 of file request_result.hpp.
References m_RetryDelay.
|
inline |
Definition at line 1217 of file request_result.hpp.
References m_RetryDelay.
|
virtual |
Reimplemented in CGBReaderRequestResult.
Definition at line 827 of file request_result.cpp.
CTSE_LoadLock CReaderRequestResult::GetBlobLoadLock | ( | const TKeyBlob & | blob_id | ) |
Definition at line 860 of file request_result.cpp.
CWriter * CReaderRequestResult::GetBlobWriter | ( | void | ) | const |
Definition at line 807 of file request_result.cpp.
References CWriter::eBlobWriter, CReadDispatcher::GetWriter(), and m_ReadDispatcher.
|
inline |
Definition at line 1008 of file request_result.hpp.
References CInfoRequestor::GetManager().
Referenced by GetLoadedAcc(), GetLoadedBlob(), GetLoadedBlobIds(), GetLoadedBlobState(), GetLoadedBlobVersion(), GetLoadedGi(), GetLoadedHash(), GetLoadedLabel(), GetLoadedLength(), GetLoadedSeqIds(), GetLoadedTaxId(), GetLoadedType(), GetLoadLockAcc(), GetLoadLockBlob(), GetLoadLockBlobIds(), GetLoadLockBlobState(), GetLoadLockBlobVersion(), GetLoadLockGi(), GetLoadLockHash(), GetLoadLockLabel(), GetLoadLockLength(), GetLoadLockSeqIds(), GetLoadLockTaxId(), GetLoadLockType(), IsLoadedAcc(), IsLoadedBlobIds(), IsLoadedBlobState(), IsLoadedBlobVersion(), IsLoadedGi(), IsLoadedHash(), IsLoadedLabel(), IsLoadedLength(), IsLoadedSeqIds(), IsLoadedTaxId(), IsLoadedType(), MarkLoadingAcc(), MarkLoadingBlobIds(), MarkLoadingGi(), MarkLoadingHash(), MarkLoadingLabel(), MarkLoadingLength(), MarkLoadingSeqIds(), MarkLoadingTaxId(), MarkLoadingType(), SetLoadedAcc(), SetLoadedAccFromSeqIds(), SetLoadedBlobIds(), SetLoadedBlobState(), SetLoadedBlobVersion(), SetLoadedGi(), SetLoadedGiFromSeqIds(), SetLoadedHash(), SetLoadedLabel(), SetLoadedLabelFromSeqIds(), SetLoadedLength(), SetLoadedSeqIds(), SetLoadedTaxId(), and SetLoadedType().
|
virtual |
Reimplemented in CGBReaderRequestResult.
Definition at line 821 of file request_result.cpp.
References eExpire_normal.
Referenced by CGBReaderRequestResult::GetIdExpirationTimeout(), and GetNewIdExpirationTime().
CWriter * CReaderRequestResult::GetIdWriter | ( | void | ) | const |
Definition at line 801 of file request_result.cpp.
References CWriter::eIdWriter, CReadDispatcher::GetWriter(), and m_ReadDispatcher.
Referenced by SetAndSaveBlobState(), and SetAndSaveBlobVersion().
|
inline |
Definition at line 1211 of file request_result.hpp.
References m_Level.
CReaderRequestResult::TInfoLockAcc CReaderRequestResult::GetLoadedAcc | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1252 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheAcc.
CReaderRequestResult::TInfoLockBlob CReaderRequestResult::GetLoadedBlob | ( | const TKeyBlob & | blob_id | ) |
Definition at line 1893 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheBlob.
|
virtual |
Reimplemented in CGBReaderRequestResult.
Definition at line 885 of file request_result.cpp.
CReaderRequestResult::TInfoLockBlobIds CReaderRequestResult::GetLoadedBlobIds | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel | ||
) |
Definition at line 1710 of file request_result.cpp.
References GetGBInfoManager(), ncbi::grid::netcache::search::fields::key, CGBInfoManager::m_CacheBlobIds, and s_KeyBlobIds().
CReaderRequestResult::TInfoLockBlobState CReaderRequestResult::GetLoadedBlobState | ( | const TKeyBlob & | blob_id | ) |
Definition at line 1798 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobState.
CReaderRequestResult::TInfoLockBlobVersion CReaderRequestResult::GetLoadedBlobVersion | ( | const TKeyBlob & | blob_id | ) |
Definition at line 1862 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobVersion.
CReaderRequestResult::TInfoLockGi CReaderRequestResult::GetLoadedGi | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1390 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheGi.
CReaderRequestResult::TInfoLockHash CReaderRequestResult::GetLoadedHash | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1560 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheHash.
CReaderRequestResult::TInfoLockLabel CReaderRequestResult::GetLoadedLabel | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1464 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheLabel.
CReaderRequestResult::TInfoLockLength CReaderRequestResult::GetLoadedLength | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1608 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheLength.
CReaderRequestResult::TInfoLockIds CReaderRequestResult::GetLoadedSeqIds | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1165 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheSeqIds.
Referenced by GetLoadLockAcc(), and GetLoadLockGi().
CReaderRequestResult::TInfoLockTaxId CReaderRequestResult::GetLoadedTaxId | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1512 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheTaxId.
CReaderRequestResult::TInfoLockType CReaderRequestResult::GetLoadedType | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1656 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheType.
|
virtual |
Reimplemented in CGBReaderRequestResult.
Definition at line 846 of file request_result.cpp.
CReaderRequestResult::TInfoLockAcc CReaderRequestResult::GetLoadLockAcc | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1233 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), GetLoadedSeqIds(), m_AllocatedConnection, CGBInfoManager::m_CacheAcc, and UpdateAccFromSeqIds().
CReaderRequestResult::TInfoLockBlob CReaderRequestResult::GetLoadLockBlob | ( | const TKeyBlob & | blob_id | ) |
Definition at line 1883 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheBlob.
CReaderRequestResult::TInfoLockBlobIds CReaderRequestResult::GetLoadLockBlobIds | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel | ||
) |
Definition at line 1698 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), ncbi::grid::netcache::search::fields::key, m_AllocatedConnection, CGBInfoManager::m_CacheBlobIds, and s_KeyBlobIds().
CReaderRequestResult::TInfoLockBlobState CReaderRequestResult::GetLoadLockBlobState | ( | const TKeyBlob & | blob_id | ) |
Definition at line 1788 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheBlobState.
CReaderRequestResult::TInfoLockBlobVersion CReaderRequestResult::GetLoadLockBlobVersion | ( | const TKeyBlob & | blob_id | ) |
Definition at line 1852 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheBlobVersion.
CReaderRequestResult::TInfoLockGi CReaderRequestResult::GetLoadLockGi | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1372 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), GetLoadedSeqIds(), m_AllocatedConnection, CGBInfoManager::m_CacheGi, and UpdateGiFromSeqIds().
CReaderRequestResult::TInfoLockHash CReaderRequestResult::GetLoadLockHash | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1550 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheHash.
CReaderRequestResult::TInfoLockLabel CReaderRequestResult::GetLoadLockLabel | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1454 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheLabel.
CReaderRequestResult::TInfoLockLength CReaderRequestResult::GetLoadLockLength | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1598 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheLength.
CReaderRequestResult::TInfoLockIds CReaderRequestResult::GetLoadLockSeqIds | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1155 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheSeqIds.
CReaderRequestResult::TInfoLockTaxId CReaderRequestResult::GetLoadLockTaxId | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1502 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheTaxId.
CReaderRequestResult::TInfoLockType CReaderRequestResult::GetLoadLockType | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1646 of file request_result.cpp.
References eAllowWaiting, eDoNotWait, GetGBInfoManager(), m_AllocatedConnection, and CGBInfoManager::m_CacheType.
CReaderRequestResult::TExpirationTime CReaderRequestResult::GetNewExpirationTime | ( | GBL::EExpirationType | type | ) | const |
Definition at line 920 of file request_result.cpp.
References GetNewIdExpirationTime().
CReaderRequestResult::TExpirationTime CReaderRequestResult::GetNewIdExpirationTime | ( | GBL::EExpirationType | type | ) | const |
Definition at line 814 of file request_result.cpp.
References GetIdExpirationTimeout(), and GetStartTime().
Referenced by GetNewExpirationTime().
|
virtual |
Reimplemented in CGBReaderRequestResult.
Definition at line 833 of file request_result.cpp.
References eGBErrorAction_report.
|
inline |
Definition at line 1214 of file request_result.hpp.
References m_RequestedId.
CReaderRequestResult::TExpirationTime CReaderRequestResult::GetRequestTime | ( | void | ) | const |
Definition at line 913 of file request_result.cpp.
References GetStartTime().
|
inline |
Definition at line 1219 of file request_result.hpp.
References m_RetryDelay.
Referenced by CReaderAllocatedConnection::Release().
|
inline |
Definition at line 1222 of file request_result.hpp.
References m_StartTime.
Referenced by GetNewIdExpirationTime(), and GetRequestTime().
|
pure virtual |
Implemented in CGBReaderRequestResult, and CStandaloneRequestResult.
|
pure virtual |
Implemented in CGBReaderRequestResult, and CStandaloneRequestResult.
|
inline |
Definition at line 1233 of file request_result.hpp.
References m_InProcessor.
bool CReaderRequestResult::IsLoadedAcc | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1218 of file request_result.cpp.
References GetGBInfoManager(), IsLoadedSeqIds(), and CGBInfoManager::m_CacheAcc.
bool CReaderRequestResult::IsLoadedBlobIds | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel | ||
) |
Definition at line 1680 of file request_result.cpp.
References GetGBInfoManager(), ncbi::grid::netcache::search::fields::key, CGBInfoManager::m_CacheBlobIds, and s_KeyBlobIds().
Definition at line 1781 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobState.
Definition at line 1845 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobVersion.
bool CReaderRequestResult::IsLoadedGi | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1357 of file request_result.cpp.
References GetGBInfoManager(), IsLoadedSeqIds(), and CGBInfoManager::m_CacheGi.
bool CReaderRequestResult::IsLoadedHash | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1536 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheHash.
bool CReaderRequestResult::IsLoadedLabel | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1440 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheLabel.
bool CReaderRequestResult::IsLoadedLength | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1584 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheLength.
bool CReaderRequestResult::IsLoadedSeqIds | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1141 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheSeqIds.
Referenced by IsLoadedAcc(), and IsLoadedGi().
bool CReaderRequestResult::IsLoadedTaxId | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1488 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheTaxId.
bool CReaderRequestResult::IsLoadedType | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1632 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheType.
bool CReaderRequestResult::MarkLoadingAcc | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1226 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheAcc.
bool CReaderRequestResult::MarkLoadingBlobIds | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel | ||
) |
Definition at line 1689 of file request_result.cpp.
References GetGBInfoManager(), ncbi::grid::netcache::search::fields::key, CGBInfoManager::m_CacheBlobIds, and s_KeyBlobIds().
bool CReaderRequestResult::MarkLoadingGi | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1365 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheGi.
bool CReaderRequestResult::MarkLoadingHash | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1543 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheHash.
bool CReaderRequestResult::MarkLoadingLabel | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1447 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheLabel.
bool CReaderRequestResult::MarkLoadingLength | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1591 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheLength.
bool CReaderRequestResult::MarkLoadingSeqIds | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1148 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheSeqIds.
bool CReaderRequestResult::MarkLoadingTaxId | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1495 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheTaxId.
bool CReaderRequestResult::MarkLoadingType | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1639 of file request_result.cpp.
References GetGBInfoManager(), and CGBInfoManager::m_CacheType.
|
pure virtual |
Implemented in CGBReaderRequestResult, and CStandaloneRequestResult.
|
private |
|
private |
|
private |
void CReaderRequestResult::ReleaseLocks | ( | void | ) |
Definition at line 906 of file request_result.cpp.
References set< Key, Compare >::clear(), and m_TSE_LockSet.
Referenced by ~CReaderRequestResult().
void CReaderRequestResult::ReleaseNotLoadedBlobs | ( | void | ) |
Definition at line 880 of file request_result.cpp.
Referenced by CReaderAllocatedConnection::~CReaderAllocatedConnection().
|
static |
Definition at line 1735 of file request_result.cpp.
References CSeq_id::eSNPScaleLimit_Default, SAnnotSelector::GetNamedAnnotAccessions(), SAnnotSelector::GetSNPScaleLimit(), CSeq_id::GetSNPScaleLimit_Name(), SAnnotSelector::IsIncludedAnyNamedAnnotAccession(), ITERATE, and ncbi::grid::netcache::search::fields::key.
Referenced by GetLoadedBlobIds(), GetLoadLockBlobIds(), IsLoadedBlobIds(), MarkLoadingBlobIds(), and SetLoadedBlobIds().
void CReaderRequestResult::SaveLocksTo | ( | TTSE_LockSet & | locks | ) |
Definition at line 898 of file request_result.cpp.
References set< Key, Compare >::insert(), ITERATE, and m_TSE_LockSet.
void CReaderRequestResult::SetAndSaveBlobState | ( | const TKeyBlob & | blob_id, |
TBlobState | state | ||
) |
Definition at line 1804 of file request_result.cpp.
References GetIdWriter(), and SetLoadedBlobState().
void CReaderRequestResult::SetAndSaveBlobVersion | ( | const TKeyBlob & | blob_id, |
TBlobVersion | version | ||
) |
Definition at line 1868 of file request_result.cpp.
References GetIdWriter(), SetLoadedBlobVersion(), and dtl::version.
|
inline |
Definition at line 1212 of file request_result.hpp.
References m_Level.
Referenced by SSaveResultLevel::~SSaveResultLevel().
bool CReaderRequestResult::SetLoadedAcc | ( | const CSeq_id_Handle & | id, |
const TSequenceAcc & | value | ||
) |
Definition at line 1259 of file request_result.cpp.
References eExpire_normal, CLoadLockAcc::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheAcc, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedAccFromSeqIds | ( | const CSeq_id_Handle & | id, |
const CLoadLockSeqIds & | ids_lock | ||
) |
Definition at line 1286 of file request_result.cpp.
References data, GetGBInfoManager(), CLoadLockSeqIds::GetSeq_ids(), Info(), LOG_POST, CGBInfoManager::m_CacheAcc, and s_GetLoadTraceLevel().
bool CReaderRequestResult::SetLoadedBlobIds | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel, | ||
const CFixedBlob_ids & | value | ||
) |
Definition at line 1719 of file request_result.cpp.
References eExpire_normal, CLoadLockBlobIds::GetExpType(), GetGBInfoManager(), Info(), ncbi::grid::netcache::search::fields::key, LOG_POST, CGBInfoManager::m_CacheBlobIds, s_GetLoadTraceLevel(), s_KeyBlobIds(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedBlobIds | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel, | ||
const CLoadLockBlobIds & | ids | ||
) |
Definition at line 1202 of file request_result.cpp.
References Info(), LOG_POST, s_GetLoadTraceLevel(), and CLoadLockBlobIds::SetLoadedBlob_ids().
bool CReaderRequestResult::SetLoadedBlobIdsFromZeroGi | ( | const CSeq_id_Handle & | id, |
const SAnnotSelector * | sel, | ||
const CLoadLockGi & | gi_lock | ||
) |
Definition at line 1316 of file request_result.cpp.
References _ASSERT, CLoadLockGi::GetExpirationTimeGi(), CLoadLockGi::GetGi(), Info(), CLoadLockGi::IsLoadedGi(), LOG_POST, s_GetLoadTraceLevel(), CLoadLockBlobIds::SetLoadedBlob_ids(), and ZERO_GI.
bool CReaderRequestResult::SetLoadedBlobState | ( | const TKeyBlob & | blob_id, |
TBlobState | state | ||
) |
Definition at line 1761 of file request_result.cpp.
References eExpire_normal, CLoadLockBlobState::GetExpType(), GetGBInfoManager(), CLoadLockBlob::GetTSE_LoadLock(), Info(), CLoadLockBlob::IsLoadedBlob(), LOG_POST, CGBInfoManager::m_CacheBlobState, s_GetLoadTraceLevel(), and CTSE_Info::SetBlobState().
Referenced by SetAndSaveBlobState(), and SetNoBlob().
bool CReaderRequestResult::SetLoadedBlobVersion | ( | const TKeyBlob & | blob_id, |
TBlobVersion | version | ||
) |
Definition at line 1819 of file request_result.cpp.
References eExpire_normal, CLoadLockBlobVersion::GetExpType(), GetGBInfoManager(), CLoadLockBlob::GetKnownBlobVersion(), CLoadLockBlob::GetTSE_LoadLock(), Info(), CLoadLockBlob::IsLoadedBlob(), LOG_POST, CGBInfoManager::m_CacheBlobVersion, s_GetLoadTraceLevel(), CTSE_Info::SetBlobVersion(), dtl::version, and Warning().
Referenced by SetAndSaveBlobVersion().
bool CReaderRequestResult::SetLoadedGi | ( | const CSeq_id_Handle & | id, |
const TSequenceGi & | value | ||
) |
Definition at line 1397 of file request_result.cpp.
References eExpire_normal, CLoadLockGi::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheGi, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedGiFromSeqIds | ( | const CSeq_id_Handle & | id, |
const CLoadLockSeqIds & | ids_lock | ||
) |
Definition at line 1341 of file request_result.cpp.
References data, GetGBInfoManager(), CLoadLockSeqIds::GetSeq_ids(), Info(), LOG_POST, CGBInfoManager::m_CacheGi, and s_GetLoadTraceLevel().
bool CReaderRequestResult::SetLoadedHash | ( | const CSeq_id_Handle & | id, |
const TSequenceHash & | value | ||
) |
Definition at line 1567 of file request_result.cpp.
References eExpire_normal, CLoadLockHash::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheHash, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedLabel | ( | const CSeq_id_Handle & | id, |
const string & | value | ||
) |
Definition at line 1471 of file request_result.cpp.
References eExpire_normal, CLoadLockLabel::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheLabel, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedLabelFromSeqIds | ( | const CSeq_id_Handle & | id, |
const CLoadLockSeqIds & | ids_lock | ||
) |
Definition at line 1424 of file request_result.cpp.
References GetGBInfoManager(), CLoadLockSeqIds::GetSeq_ids(), Info(), label, LOG_POST, CGBInfoManager::m_CacheLabel, and s_GetLoadTraceLevel().
bool CReaderRequestResult::SetLoadedLength | ( | const CSeq_id_Handle & | id, |
const TSequenceLength & | value | ||
) |
Definition at line 1615 of file request_result.cpp.
References eExpire_normal, CLoadLockLength::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheLength, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedSeqIds | ( | const CSeq_id_Handle & | id, |
const CFixedSeq_ids & | value | ||
) |
Definition at line 1172 of file request_result.cpp.
References eExpire_normal, CLoadLockSeqIds::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheSeqIds, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedSeqIds | ( | const CSeq_id_Handle & | id, |
const CLoadLockSeqIds & | ids | ||
) |
Definition at line 1190 of file request_result.cpp.
References Info(), LOG_POST, s_GetLoadTraceLevel(), and CLoadLockSeqIds::SetLoadedSeq_ids().
bool CReaderRequestResult::SetLoadedSeqIdsFromZeroGi | ( | const CSeq_id_Handle & | id, |
const CLoadLockGi & | gi_lock | ||
) |
Definition at line 1302 of file request_result.cpp.
References _ASSERT, CLoadLockGi::GetExpirationTimeGi(), CLoadLockGi::GetGi(), Info(), CLoadLockGi::IsLoadedGi(), LOG_POST, s_GetLoadTraceLevel(), CLoadLockSeqIds::SetLoadedSeq_ids(), and ZERO_GI.
bool CReaderRequestResult::SetLoadedTaxId | ( | const CSeq_id_Handle & | id, |
const TTaxId & | value | ||
) |
Definition at line 1519 of file request_result.cpp.
References eExpire_normal, CLoadLockTaxId::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheTaxId, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetLoadedType | ( | const CSeq_id_Handle & | id, |
const TSequenceType & | value | ||
) |
Definition at line 1663 of file request_result.cpp.
References eExpire_normal, CLoadLockType::GetExpType(), GetGBInfoManager(), Info(), LOG_POST, CGBInfoManager::m_CacheType, s_GetLoadTraceLevel(), and rapidjson::value.
bool CReaderRequestResult::SetNoBlob | ( | const TKeyBlob & | blob_id, |
TBlobState | blob_state | ||
) |
Definition at line 866 of file request_result.cpp.
References CLoadLockBlob::IsLoadedBlob(), CLoadLockSetter::SetLoaded(), and SetLoadedBlobState().
void CReaderRequestResult::SetRequestedId | ( | const CSeq_id_Handle & | requested_id | ) |
Definition at line 852 of file request_result.cpp.
References m_RequestedId.
bool CReaderRequestResult::UpdateAccFromSeqIds | ( | TInfoLockAcc & | acc_lock, |
const TInfoLockIds & | ids_lock | ||
) |
Definition at line 1275 of file request_result.cpp.
Referenced by GetLoadLockAcc().
bool CReaderRequestResult::UpdateGiFromSeqIds | ( | TInfoLockGi & | gi_lock, |
const TInfoLockIds & | ids_lock | ||
) |
Definition at line 1330 of file request_result.cpp.
Referenced by GetLoadLockGi().
bool CReaderRequestResult::UpdateLabelFromSeqIds | ( | TInfoLockLabel & | label_lock, |
const TInfoLockIds & | ids_lock | ||
) |
Definition at line 1413 of file request_result.cpp.
|
private |
Definition at line 892 of file request_result.cpp.
References set< Key, Compare >::insert(), and m_TSE_LockSet.
|
friend |
Definition at line 1236 of file request_result.hpp.
|
friend |
Definition at line 1237 of file request_result.hpp.
|
friend |
Definition at line 1238 of file request_result.hpp.
|
friend |
Definition at line 1239 of file request_result.hpp.
|
private |
Definition at line 1250 of file request_result.hpp.
Referenced by GetLoadLockAcc(), GetLoadLockBlob(), GetLoadLockBlobIds(), GetLoadLockBlobState(), GetLoadLockBlobVersion(), GetLoadLockGi(), GetLoadLockHash(), GetLoadLockLabel(), GetLoadLockLength(), GetLoadLockSeqIds(), GetLoadLockTaxId(), GetLoadLockType(), CReaderAllocatedConnection::Release(), CReaderAllocatedConnection::~CReaderAllocatedConnection(), and ~CReaderRequestResult().
|
private |
Definition at line 1248 of file request_result.hpp.
Referenced by IsInProcessor(), and CReaderRequestResultRecursion::~CReaderRequestResultRecursion().
|
private |
Definition at line 1245 of file request_result.hpp.
Referenced by GetLevel(), and SetLevel().
|
private |
Definition at line 1243 of file request_result.hpp.
Referenced by GetBlobWriter(), and GetIdWriter().
|
private |
Definition at line 1247 of file request_result.hpp.
Referenced by CReaderRequestResultRecursion::GetRecursionLevel(), and CReaderRequestResultRecursion::~CReaderRequestResultRecursion().
|
private |
Definition at line 1249 of file request_result.hpp.
Referenced by CReaderRequestResultRecursion::GetCurrentRequestTime(), and CReaderRequestResultRecursion::~CReaderRequestResultRecursion().
|
private |
Definition at line 1246 of file request_result.hpp.
Referenced by GetRequestedId(), and SetRequestedId().
|
private |
Definition at line 1251 of file request_result.hpp.
Referenced by AddRetryDelay(), ClearRetryDelay(), and GetRetryDelay().
|
private |
Definition at line 1252 of file request_result.hpp.
Referenced by GetStartTime().
|
private |
Definition at line 1244 of file request_result.hpp.
Referenced by ReleaseLocks(), SaveLocksTo(), and x_AddTSE_LoadLock().