NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CReaderRequestResult Class Referenceabstract

Search Toolkit Book for CReaderRequestResult

#include <objtools/data_loaders/genbank/impl/request_result.hpp>

+ Inheritance diagram for CReaderRequestResult:
+ Collaboration diagram for CReaderRequestResult:

Public Types

typedef string TKeySeq_ids
 
typedef CSeq_id_Handle TKeySeq_ids2
 
typedef pair< CSeq_id_Handle, stringTKeyBlob_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_idTLoadedBlob_ids
 
typedef CTSE_Lock TTSE_Lock
 
typedef set< TTSE_LockTTSE_LockSet
 
typedef int TConn
 

Public Member Functions

 CReaderRequestResult (const CSeq_id_Handle &requested_id, CReadDispatcher &dispatcher, CGBInfoManager &manager)
 
virtual ~CReaderRequestResult (void)
 
CGBInfoManagerGetGBInfoManager (void)
 
TExpirationTime GetRequestTime (void) const
 
TExpirationTime GetNewExpirationTime (GBL::EExpirationType type) const
 
bool IsLoadedSeqIds (const CSeq_id_Handle &id)
 
bool MarkLoadingSeqIds (const CSeq_id_Handle &id)
 
TInfoLockIds GetLoadLockSeqIds (const CSeq_id_Handle &id)
 
TInfoLockIds GetLoadedSeqIds (const CSeq_id_Handle &id)
 
bool SetLoadedSeqIds (const CSeq_id_Handle &id, const CFixedSeq_ids &value)
 
bool IsLoadedAcc (const CSeq_id_Handle &id)
 
bool MarkLoadingAcc (const CSeq_id_Handle &id)
 
TInfoLockAcc GetLoadLockAcc (const CSeq_id_Handle &id)
 
TInfoLockAcc GetLoadedAcc (const CSeq_id_Handle &id)
 
bool SetLoadedAcc (const CSeq_id_Handle &id, const TSequenceAcc &value)
 
bool IsLoadedGi (const CSeq_id_Handle &id)
 
bool MarkLoadingGi (const CSeq_id_Handle &id)
 
TInfoLockGi GetLoadLockGi (const CSeq_id_Handle &id)
 
TInfoLockGi GetLoadedGi (const CSeq_id_Handle &id)
 
bool SetLoadedGi (const CSeq_id_Handle &id, const TSequenceGi &value)
 
bool UpdateAccFromSeqIds (TInfoLockAcc &acc_lock, const TInfoLockIds &ids_lock)
 
bool SetLoadedAccFromSeqIds (const CSeq_id_Handle &id, const CLoadLockSeqIds &ids_lock)
 
bool UpdateGiFromSeqIds (TInfoLockGi &gi_lock, const TInfoLockIds &ids_lock)
 
bool SetLoadedGiFromSeqIds (const CSeq_id_Handle &id, const CLoadLockSeqIds &ids_lock)
 
bool SetLoadedSeqIds (const CSeq_id_Handle &id, const CLoadLockSeqIds &ids)
 
bool SetLoadedSeqIdsFromZeroGi (const CSeq_id_Handle &id, const CLoadLockGi &gi_lock)
 
bool SetLoadedBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel, const CLoadLockBlobIds &ids)
 
bool SetLoadedBlobIdsFromZeroGi (const CSeq_id_Handle &id, const SAnnotSelector *sel, const CLoadLockGi &gi_lock)
 
bool UpdateLabelFromSeqIds (TInfoLockLabel &label_lock, const TInfoLockIds &ids_lock)
 
bool SetLoadedLabelFromSeqIds (const CSeq_id_Handle &id, const CLoadLockSeqIds &ids_lock)
 
bool IsLoadedLabel (const CSeq_id_Handle &id)
 
bool MarkLoadingLabel (const CSeq_id_Handle &id)
 
TInfoLockLabel GetLoadLockLabel (const CSeq_id_Handle &id)
 
TInfoLockLabel GetLoadedLabel (const CSeq_id_Handle &id)
 
bool SetLoadedLabel (const CSeq_id_Handle &id, const string &value)
 
bool IsLoadedTaxId (const CSeq_id_Handle &id)
 
bool MarkLoadingTaxId (const CSeq_id_Handle &id)
 
TInfoLockTaxId GetLoadLockTaxId (const CSeq_id_Handle &id)
 
TInfoLockTaxId GetLoadedTaxId (const CSeq_id_Handle &id)
 
bool SetLoadedTaxId (const CSeq_id_Handle &id, const TTaxId &value)
 
bool IsLoadedHash (const CSeq_id_Handle &id)
 
bool MarkLoadingHash (const CSeq_id_Handle &id)
 
TInfoLockHash GetLoadLockHash (const CSeq_id_Handle &id)
 
TInfoLockHash GetLoadedHash (const CSeq_id_Handle &id)
 
bool SetLoadedHash (const CSeq_id_Handle &id, const TSequenceHash &value)
 
bool IsLoadedLength (const CSeq_id_Handle &id)
 
bool MarkLoadingLength (const CSeq_id_Handle &id)
 
TInfoLockLength GetLoadLockLength (const CSeq_id_Handle &id)
 
TInfoLockLength GetLoadedLength (const CSeq_id_Handle &id)
 
bool SetLoadedLength (const CSeq_id_Handle &id, const TSequenceLength &value)
 
bool IsLoadedType (const CSeq_id_Handle &id)
 
bool MarkLoadingType (const CSeq_id_Handle &id)
 
TInfoLockType GetLoadLockType (const CSeq_id_Handle &id)
 
TInfoLockType GetLoadedType (const CSeq_id_Handle &id)
 
bool SetLoadedType (const CSeq_id_Handle &id, const TSequenceType &value)
 
bool IsLoadedBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel)
 
bool MarkLoadingBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel)
 
TInfoLockBlobIds GetLoadLockBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel)
 
TInfoLockBlobIds GetLoadedBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel)
 
bool SetLoadedBlobIds (const CSeq_id_Handle &id, const SAnnotSelector *sel, const CFixedBlob_ids &value)
 
bool IsLoadedBlobState (const TKeyBlob &blob_id)
 
bool MarkLoadingBlobState (const TKeyBlob &blob_id)
 
TInfoLockBlobState GetLoadLockBlobState (const TKeyBlob &blob_id)
 
TInfoLockBlobState GetLoadedBlobState (const TKeyBlob &blob_id)
 
bool SetLoadedBlobState (const TKeyBlob &blob_id, TBlobState state)
 
void SetAndSaveBlobState (const TKeyBlob &blob_id, TBlobState state)
 
bool IsLoadedBlobVersion (const TKeyBlob &blob_id)
 
bool MarkLoadingBlobVersion (const TKeyBlob &blob_id)
 
TInfoLockBlobVersion GetLoadLockBlobVersion (const TKeyBlob &blob_id)
 
TInfoLockBlobVersion GetLoadedBlobVersion (const TKeyBlob &blob_id)
 
bool SetLoadedBlobVersion (const TKeyBlob &blob_id, TBlobVersion version)
 
void SetAndSaveBlobVersion (const TKeyBlob &blob_id, TBlobVersion version)
 
TInfoLockBlob GetLoadLockBlob (const TKeyBlob &blob_id)
 
TInfoLockBlob GetLoadedBlob (const TKeyBlob &blob_id)
 
virtual CGBDataLoaderGetLoaderPtr (void)
 
CTSE_LoadLock GetBlobLoadLock (const TKeyBlob &blob_id)
 
virtual CTSE_LoadLock GetTSE_LoadLock (const TKeyBlob &blob_id)=0
 
virtual CTSE_LoadLock GetTSE_LoadLockIfLoaded (const TKeyBlob &blob_id)=0
 
virtual void GetLoadedBlob_ids (const CSeq_id_Handle &idh, TLoadedBlob_ids &blob_ids) const
 
bool SetNoBlob (const TKeyBlob &blob_id, TBlobState blob_state)
 
void ReleaseNotLoadedBlobs (void)
 
void SaveLocksTo (TTSE_LockSet &locks)
 
void ReleaseLocks (void)
 
virtual operator CInitMutexPool & (void)=0
 
TLevel GetLevel () const
 
void SetLevel (TLevel level)
 
const CSeq_id_HandleGetRequestedId (void) const
 
void SetRequestedId (const CSeq_id_Handle &requested_id)
 
void ClearRetryDelay (void)
 
void AddRetryDelay (double delay)
 
double GetRetryDelay (void) const
 
TExpirationTime GetStartTime (void) const
 
TExpirationTime GetNewIdExpirationTime (GBL::EExpirationType type) const
 
virtual TExpirationTime GetIdExpirationTimeout (GBL::EExpirationType type) const
 
virtual bool GetAddWGSMasterDescr (void) const
 
virtual EGBErrorAction GetPTISErrorAction (void) const
 
CWriterGetIdWriter (void) const
 
CWriterGetBlobWriter (void) const
 
bool IsInProcessor (void) const
 

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 &)
 
CReaderRequestResultoperator= (const CReaderRequestResult &)
 

Private Attributes

CReadDispatcherm_ReadDispatcher
 
TTSE_LockSet m_TSE_LockSet
 
TLevel m_Level
 
CSeq_id_Handle m_RequestedId
 
int m_RecursionLevel
 
int m_InProcessor
 
double m_RecursiveTime
 
CReaderAllocatedConnectionm_AllocatedConnection
 
double m_RetryDelay
 
TExpirationTime m_StartTime
 

Friends

class CLoadLockBlob
 
class CLoadLockSetter
 
class CReaderAllocatedConnection
 
class CReaderRequestResultRecursion
 

Detailed Description

Definition at line 1000 of file request_result.hpp.

Member Typedef Documentation

◆ TBlobState

Definition at line 1020 of file request_result.hpp.

◆ TBlobVersion

Definition at line 1019 of file request_result.hpp.

◆ TConn

Definition at line 1209 of file request_result.hpp.

◆ TExpirationTime

typedef GBL::CInfo_Base::TExpirationTime CReaderRequestResult::TExpirationTime

Definition at line 1021 of file request_result.hpp.

◆ TInfoLockAcc

typedef CGBInfoManager::TCacheAcc::TInfoLock CReaderRequestResult::TInfoLockAcc

Definition at line 1031 of file request_result.hpp.

◆ TInfoLockBlob

typedef CGBInfoManager::TCacheBlob::TInfoLock CReaderRequestResult::TInfoLockBlob

Definition at line 1046 of file request_result.hpp.

◆ TInfoLockBlobIds

typedef CGBInfoManager::TCacheBlobIds::TInfoLock CReaderRequestResult::TInfoLockBlobIds

Definition at line 1043 of file request_result.hpp.

◆ TInfoLockBlobState

typedef CGBInfoManager::TCacheBlobState::TInfoLock CReaderRequestResult::TInfoLockBlobState

Definition at line 1044 of file request_result.hpp.

◆ TInfoLockBlobVersion

typedef CGBInfoManager::TCacheBlobVersion::TInfoLock CReaderRequestResult::TInfoLockBlobVersion

Definition at line 1045 of file request_result.hpp.

◆ TInfoLockGi

typedef CGBInfoManager::TCacheGi::TInfoLock CReaderRequestResult::TInfoLockGi

Definition at line 1033 of file request_result.hpp.

◆ TInfoLockHash

typedef CGBInfoManager::TCacheHash::TInfoLock CReaderRequestResult::TInfoLockHash

Definition at line 1038 of file request_result.hpp.

◆ TInfoLockIds

typedef CGBInfoManager::TCacheSeqIds::TInfoLock CReaderRequestResult::TInfoLockIds

Definition at line 1029 of file request_result.hpp.

◆ TInfoLockLabel

typedef CGBInfoManager::TCacheLabel::TInfoLock CReaderRequestResult::TInfoLockLabel

Definition at line 1034 of file request_result.hpp.

◆ TInfoLockLength

typedef CGBInfoManager::TCacheLength::TInfoLock CReaderRequestResult::TInfoLockLength

Definition at line 1040 of file request_result.hpp.

◆ TInfoLockTaxId

typedef CGBInfoManager::TCacheTaxId::TInfoLock CReaderRequestResult::TInfoLockTaxId

Definition at line 1036 of file request_result.hpp.

◆ TInfoLockType

typedef CGBInfoManager::TCacheType::TInfoLock CReaderRequestResult::TInfoLockType

Definition at line 1042 of file request_result.hpp.

◆ TKeyBlob

Definition at line 1017 of file request_result.hpp.

◆ TKeyBlob_ids

Definition at line 1015 of file request_result.hpp.

◆ TKeyBlobState

Definition at line 1016 of file request_result.hpp.

◆ TKeySeq_ids

Definition at line 1013 of file request_result.hpp.

◆ TKeySeq_ids2

Definition at line 1014 of file request_result.hpp.

◆ TLevel

Definition at line 1018 of file request_result.hpp.

◆ TLoadedBlob_ids

Definition at line 1194 of file request_result.hpp.

◆ TSequenceAcc

Definition at line 1030 of file request_result.hpp.

◆ TSequenceGi

Definition at line 1032 of file request_result.hpp.

◆ TSequenceHash

Definition at line 1037 of file request_result.hpp.

◆ TSequenceLength

Definition at line 1039 of file request_result.hpp.

◆ TSequenceType

Definition at line 1041 of file request_result.hpp.

◆ TTaxId

Definition at line 1035 of file request_result.hpp.

◆ TTSE_Lock

Definition at line 1201 of file request_result.hpp.

◆ TTSE_LockSet

Definition at line 1202 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CReaderRequestResult() [1/2]

CReaderRequestResult::CReaderRequestResult ( const CSeq_id_Handle requested_id,
CReadDispatcher dispatcher,
CGBInfoManager manager 
)

Definition at line 784 of file request_result.cpp.

◆ ~CReaderRequestResult()

CReaderRequestResult::~CReaderRequestResult ( void  )
virtual

Definition at line 839 of file request_result.cpp.

References _ASSERT, m_AllocatedConnection, and ReleaseLocks().

◆ CReaderRequestResult() [2/2]

CReaderRequestResult::CReaderRequestResult ( const CReaderRequestResult )
private

Member Function Documentation

◆ AddRetryDelay()

void CReaderRequestResult::AddRetryDelay ( double  delay)
inline

Definition at line 1218 of file request_result.hpp.

References m_RetryDelay.

◆ ClearRetryDelay()

void CReaderRequestResult::ClearRetryDelay ( void  )
inline

Definition at line 1217 of file request_result.hpp.

References m_RetryDelay.

◆ GetAddWGSMasterDescr()

bool CReaderRequestResult::GetAddWGSMasterDescr ( void  ) const
virtual

Reimplemented in CGBReaderRequestResult.

Definition at line 827 of file request_result.cpp.

◆ GetBlobLoadLock()

CTSE_LoadLock CReaderRequestResult::GetBlobLoadLock ( const TKeyBlob blob_id)

Definition at line 860 of file request_result.cpp.

◆ GetBlobWriter()

CWriter * CReaderRequestResult::GetBlobWriter ( void  ) const

◆ GetGBInfoManager()

CGBInfoManager& CReaderRequestResult::GetGBInfoManager ( void  )
inline

◆ GetIdExpirationTimeout()

CReaderRequestResult::TExpirationTime CReaderRequestResult::GetIdExpirationTimeout ( GBL::EExpirationType  type) const
virtual

◆ GetIdWriter()

CWriter * CReaderRequestResult::GetIdWriter ( void  ) const

◆ GetLevel()

TLevel CReaderRequestResult::GetLevel ( void  ) const
inline

Definition at line 1211 of file request_result.hpp.

References m_Level.

◆ GetLoadedAcc()

CReaderRequestResult::TInfoLockAcc CReaderRequestResult::GetLoadedAcc ( const CSeq_id_Handle id)

Definition at line 1252 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheAcc.

◆ GetLoadedBlob()

CReaderRequestResult::TInfoLockBlob CReaderRequestResult::GetLoadedBlob ( const TKeyBlob blob_id)

Definition at line 1893 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheBlob.

◆ GetLoadedBlob_ids()

void CReaderRequestResult::GetLoadedBlob_ids ( const CSeq_id_Handle idh,
TLoadedBlob_ids blob_ids 
) const
virtual

Reimplemented in CGBReaderRequestResult.

Definition at line 885 of file request_result.cpp.

◆ GetLoadedBlobIds()

CReaderRequestResult::TInfoLockBlobIds CReaderRequestResult::GetLoadedBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel 
)

◆ GetLoadedBlobState()

CReaderRequestResult::TInfoLockBlobState CReaderRequestResult::GetLoadedBlobState ( const TKeyBlob blob_id)

Definition at line 1798 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobState.

◆ GetLoadedBlobVersion()

CReaderRequestResult::TInfoLockBlobVersion CReaderRequestResult::GetLoadedBlobVersion ( const TKeyBlob blob_id)

Definition at line 1862 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobVersion.

◆ GetLoadedGi()

CReaderRequestResult::TInfoLockGi CReaderRequestResult::GetLoadedGi ( const CSeq_id_Handle id)

Definition at line 1390 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheGi.

◆ GetLoadedHash()

CReaderRequestResult::TInfoLockHash CReaderRequestResult::GetLoadedHash ( const CSeq_id_Handle id)

Definition at line 1560 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheHash.

◆ GetLoadedLabel()

CReaderRequestResult::TInfoLockLabel CReaderRequestResult::GetLoadedLabel ( const CSeq_id_Handle id)

Definition at line 1464 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheLabel.

◆ GetLoadedLength()

CReaderRequestResult::TInfoLockLength CReaderRequestResult::GetLoadedLength ( const CSeq_id_Handle id)

Definition at line 1608 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheLength.

◆ GetLoadedSeqIds()

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().

◆ GetLoadedTaxId()

CReaderRequestResult::TInfoLockTaxId CReaderRequestResult::GetLoadedTaxId ( const CSeq_id_Handle id)

Definition at line 1512 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheTaxId.

◆ GetLoadedType()

CReaderRequestResult::TInfoLockType CReaderRequestResult::GetLoadedType ( const CSeq_id_Handle id)

Definition at line 1656 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheType.

◆ GetLoaderPtr()

CGBDataLoader * CReaderRequestResult::GetLoaderPtr ( void  )
virtual

Reimplemented in CGBReaderRequestResult.

Definition at line 846 of file request_result.cpp.

◆ GetLoadLockAcc()

CReaderRequestResult::TInfoLockAcc CReaderRequestResult::GetLoadLockAcc ( const CSeq_id_Handle id)

◆ GetLoadLockBlob()

CReaderRequestResult::TInfoLockBlob CReaderRequestResult::GetLoadLockBlob ( const TKeyBlob blob_id)

◆ GetLoadLockBlobIds()

CReaderRequestResult::TInfoLockBlobIds CReaderRequestResult::GetLoadLockBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel 
)

◆ GetLoadLockBlobState()

CReaderRequestResult::TInfoLockBlobState CReaderRequestResult::GetLoadLockBlobState ( const TKeyBlob blob_id)

◆ GetLoadLockBlobVersion()

CReaderRequestResult::TInfoLockBlobVersion CReaderRequestResult::GetLoadLockBlobVersion ( const TKeyBlob blob_id)

◆ GetLoadLockGi()

CReaderRequestResult::TInfoLockGi CReaderRequestResult::GetLoadLockGi ( const CSeq_id_Handle id)

◆ GetLoadLockHash()

CReaderRequestResult::TInfoLockHash CReaderRequestResult::GetLoadLockHash ( const CSeq_id_Handle id)

◆ GetLoadLockLabel()

CReaderRequestResult::TInfoLockLabel CReaderRequestResult::GetLoadLockLabel ( const CSeq_id_Handle id)

◆ GetLoadLockLength()

CReaderRequestResult::TInfoLockLength CReaderRequestResult::GetLoadLockLength ( const CSeq_id_Handle id)

◆ GetLoadLockSeqIds()

CReaderRequestResult::TInfoLockIds CReaderRequestResult::GetLoadLockSeqIds ( const CSeq_id_Handle id)

◆ GetLoadLockTaxId()

CReaderRequestResult::TInfoLockTaxId CReaderRequestResult::GetLoadLockTaxId ( const CSeq_id_Handle id)

◆ GetLoadLockType()

CReaderRequestResult::TInfoLockType CReaderRequestResult::GetLoadLockType ( const CSeq_id_Handle id)

◆ GetNewExpirationTime()

CReaderRequestResult::TExpirationTime CReaderRequestResult::GetNewExpirationTime ( GBL::EExpirationType  type) const

Definition at line 920 of file request_result.cpp.

References GetNewIdExpirationTime().

◆ 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().

◆ GetPTISErrorAction()

EGBErrorAction CReaderRequestResult::GetPTISErrorAction ( void  ) const
virtual

Reimplemented in CGBReaderRequestResult.

Definition at line 833 of file request_result.cpp.

References eGBErrorAction_report.

◆ GetRequestedId()

const CSeq_id_Handle& CReaderRequestResult::GetRequestedId ( void  ) const
inline

Definition at line 1214 of file request_result.hpp.

References m_RequestedId.

◆ GetRequestTime()

CReaderRequestResult::TExpirationTime CReaderRequestResult::GetRequestTime ( void  ) const

Definition at line 913 of file request_result.cpp.

References GetStartTime().

◆ GetRetryDelay()

double CReaderRequestResult::GetRetryDelay ( void  ) const
inline

Definition at line 1219 of file request_result.hpp.

References m_RetryDelay.

Referenced by CReaderAllocatedConnection::Release().

◆ GetStartTime()

TExpirationTime CReaderRequestResult::GetStartTime ( void  ) const
inline

Definition at line 1222 of file request_result.hpp.

References m_StartTime.

Referenced by GetNewIdExpirationTime(), and GetRequestTime().

◆ GetTSE_LoadLock()

virtual CTSE_LoadLock CReaderRequestResult::GetTSE_LoadLock ( const TKeyBlob blob_id)
pure virtual

◆ GetTSE_LoadLockIfLoaded()

virtual CTSE_LoadLock CReaderRequestResult::GetTSE_LoadLockIfLoaded ( const TKeyBlob blob_id)
pure virtual

◆ IsInProcessor()

bool CReaderRequestResult::IsInProcessor ( void  ) const
inline

Definition at line 1233 of file request_result.hpp.

References m_InProcessor.

◆ IsLoadedAcc()

bool CReaderRequestResult::IsLoadedAcc ( const CSeq_id_Handle id)

◆ IsLoadedBlobIds()

bool CReaderRequestResult::IsLoadedBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel 
)

◆ IsLoadedBlobState()

bool CReaderRequestResult::IsLoadedBlobState ( const TKeyBlob blob_id)

Definition at line 1781 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobState.

◆ IsLoadedBlobVersion()

bool CReaderRequestResult::IsLoadedBlobVersion ( const TKeyBlob blob_id)

Definition at line 1845 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheBlobVersion.

◆ IsLoadedGi()

bool CReaderRequestResult::IsLoadedGi ( const CSeq_id_Handle id)

◆ IsLoadedHash()

bool CReaderRequestResult::IsLoadedHash ( const CSeq_id_Handle id)

Definition at line 1536 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheHash.

◆ IsLoadedLabel()

bool CReaderRequestResult::IsLoadedLabel ( const CSeq_id_Handle id)

Definition at line 1440 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheLabel.

◆ IsLoadedLength()

bool CReaderRequestResult::IsLoadedLength ( const CSeq_id_Handle id)

Definition at line 1584 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheLength.

◆ IsLoadedSeqIds()

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().

◆ IsLoadedTaxId()

bool CReaderRequestResult::IsLoadedTaxId ( const CSeq_id_Handle id)

Definition at line 1488 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheTaxId.

◆ IsLoadedType()

bool CReaderRequestResult::IsLoadedType ( const CSeq_id_Handle id)

Definition at line 1632 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheType.

◆ MarkLoadingAcc()

bool CReaderRequestResult::MarkLoadingAcc ( const CSeq_id_Handle id)

Definition at line 1226 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheAcc.

◆ MarkLoadingBlobIds()

bool CReaderRequestResult::MarkLoadingBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel 
)

◆ MarkLoadingBlobState()

bool CReaderRequestResult::MarkLoadingBlobState ( const TKeyBlob blob_id)

◆ MarkLoadingBlobVersion()

bool CReaderRequestResult::MarkLoadingBlobVersion ( const TKeyBlob blob_id)

◆ MarkLoadingGi()

bool CReaderRequestResult::MarkLoadingGi ( const CSeq_id_Handle id)

Definition at line 1365 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheGi.

◆ MarkLoadingHash()

bool CReaderRequestResult::MarkLoadingHash ( const CSeq_id_Handle id)

Definition at line 1543 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheHash.

◆ MarkLoadingLabel()

bool CReaderRequestResult::MarkLoadingLabel ( const CSeq_id_Handle id)

Definition at line 1447 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheLabel.

◆ MarkLoadingLength()

bool CReaderRequestResult::MarkLoadingLength ( const CSeq_id_Handle id)

Definition at line 1591 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheLength.

◆ MarkLoadingSeqIds()

bool CReaderRequestResult::MarkLoadingSeqIds ( const CSeq_id_Handle id)

Definition at line 1148 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheSeqIds.

◆ MarkLoadingTaxId()

bool CReaderRequestResult::MarkLoadingTaxId ( const CSeq_id_Handle id)

Definition at line 1495 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheTaxId.

◆ MarkLoadingType()

bool CReaderRequestResult::MarkLoadingType ( const CSeq_id_Handle id)

Definition at line 1639 of file request_result.cpp.

References GetGBInfoManager(), and CGBInfoManager::m_CacheType.

◆ operator CInitMutexPool &()

virtual CReaderRequestResult::operator CInitMutexPool & ( void  )
pure virtual

◆ operator new()

void* CReaderRequestResult::operator new ( size_t  size)
private

◆ operator new[]()

void* CReaderRequestResult::operator new[] ( size_t  size)
private

◆ operator=()

CReaderRequestResult& CReaderRequestResult::operator= ( const CReaderRequestResult )
private

◆ ReleaseLocks()

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().

◆ ReleaseNotLoadedBlobs()

void CReaderRequestResult::ReleaseNotLoadedBlobs ( void  )

◆ s_KeyBlobIds()

CReaderRequestResult::TKeyBlob_ids CReaderRequestResult::s_KeyBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel 
)
static

◆ SaveLocksTo()

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.

◆ SetAndSaveBlobState()

void CReaderRequestResult::SetAndSaveBlobState ( const TKeyBlob blob_id,
TBlobState  state 
)

Definition at line 1804 of file request_result.cpp.

References GetIdWriter(), and SetLoadedBlobState().

◆ SetAndSaveBlobVersion()

void CReaderRequestResult::SetAndSaveBlobVersion ( const TKeyBlob blob_id,
TBlobVersion  version 
)

Definition at line 1868 of file request_result.cpp.

References GetIdWriter(), SetLoadedBlobVersion(), and version.

◆ SetLevel()

void CReaderRequestResult::SetLevel ( TLevel  level)
inline

Definition at line 1212 of file request_result.hpp.

References m_Level.

Referenced by SSaveResultLevel::~SSaveResultLevel().

◆ SetLoadedAcc()

bool CReaderRequestResult::SetLoadedAcc ( const CSeq_id_Handle id,
const TSequenceAcc value 
)

◆ SetLoadedAccFromSeqIds()

bool CReaderRequestResult::SetLoadedAccFromSeqIds ( const CSeq_id_Handle id,
const CLoadLockSeqIds ids_lock 
)

◆ SetLoadedBlobIds() [1/2]

bool CReaderRequestResult::SetLoadedBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel,
const CFixedBlob_ids value 
)

◆ SetLoadedBlobIds() [2/2]

bool CReaderRequestResult::SetLoadedBlobIds ( const CSeq_id_Handle id,
const SAnnotSelector sel,
const CLoadLockBlobIds ids 
)

◆ SetLoadedBlobIdsFromZeroGi()

bool CReaderRequestResult::SetLoadedBlobIdsFromZeroGi ( const CSeq_id_Handle id,
const SAnnotSelector sel,
const CLoadLockGi gi_lock 
)

◆ SetLoadedBlobState()

bool CReaderRequestResult::SetLoadedBlobState ( const TKeyBlob blob_id,
TBlobState  state 
)

◆ SetLoadedBlobVersion()

bool CReaderRequestResult::SetLoadedBlobVersion ( const TKeyBlob blob_id,
TBlobVersion  version 
)

◆ SetLoadedGi()

bool CReaderRequestResult::SetLoadedGi ( const CSeq_id_Handle id,
const TSequenceGi value 
)

◆ SetLoadedGiFromSeqIds()

bool CReaderRequestResult::SetLoadedGiFromSeqIds ( const CSeq_id_Handle id,
const CLoadLockSeqIds ids_lock 
)

◆ SetLoadedHash()

bool CReaderRequestResult::SetLoadedHash ( const CSeq_id_Handle id,
const TSequenceHash value 
)

◆ SetLoadedLabel()

bool CReaderRequestResult::SetLoadedLabel ( const CSeq_id_Handle id,
const string value 
)

◆ SetLoadedLabelFromSeqIds()

bool CReaderRequestResult::SetLoadedLabelFromSeqIds ( const CSeq_id_Handle id,
const CLoadLockSeqIds ids_lock 
)

◆ SetLoadedLength()

bool CReaderRequestResult::SetLoadedLength ( const CSeq_id_Handle id,
const TSequenceLength value 
)

◆ SetLoadedSeqIds() [1/2]

bool CReaderRequestResult::SetLoadedSeqIds ( const CSeq_id_Handle id,
const CFixedSeq_ids value 
)

◆ SetLoadedSeqIds() [2/2]

bool CReaderRequestResult::SetLoadedSeqIds ( const CSeq_id_Handle id,
const CLoadLockSeqIds ids 
)

◆ SetLoadedSeqIdsFromZeroGi()

bool CReaderRequestResult::SetLoadedSeqIdsFromZeroGi ( const CSeq_id_Handle id,
const CLoadLockGi gi_lock 
)

◆ SetLoadedTaxId()

bool CReaderRequestResult::SetLoadedTaxId ( const CSeq_id_Handle id,
const TTaxId value 
)

◆ SetLoadedType()

bool CReaderRequestResult::SetLoadedType ( const CSeq_id_Handle id,
const TSequenceType value 
)

◆ SetNoBlob()

bool CReaderRequestResult::SetNoBlob ( const TKeyBlob blob_id,
TBlobState  blob_state 
)

◆ SetRequestedId()

void CReaderRequestResult::SetRequestedId ( const CSeq_id_Handle requested_id)

Definition at line 852 of file request_result.cpp.

References m_RequestedId.

◆ UpdateAccFromSeqIds()

bool CReaderRequestResult::UpdateAccFromSeqIds ( TInfoLockAcc acc_lock,
const TInfoLockIds ids_lock 
)

Definition at line 1275 of file request_result.cpp.

Referenced by GetLoadLockAcc().

◆ UpdateGiFromSeqIds()

bool CReaderRequestResult::UpdateGiFromSeqIds ( TInfoLockGi gi_lock,
const TInfoLockIds ids_lock 
)

Definition at line 1330 of file request_result.cpp.

Referenced by GetLoadLockGi().

◆ UpdateLabelFromSeqIds()

bool CReaderRequestResult::UpdateLabelFromSeqIds ( TInfoLockLabel label_lock,
const TInfoLockIds ids_lock 
)

Definition at line 1413 of file request_result.cpp.

◆ x_AddTSE_LoadLock()

void CReaderRequestResult::x_AddTSE_LoadLock ( const CTSE_LoadLock lock)
private

Definition at line 892 of file request_result.cpp.

References set< Key, Compare >::insert(), and m_TSE_LockSet.

Friends And Related Function Documentation

◆ CLoadLockBlob

friend class CLoadLockBlob
friend

Definition at line 1236 of file request_result.hpp.

◆ CLoadLockSetter

friend class CLoadLockSetter
friend

Definition at line 1237 of file request_result.hpp.

◆ CReaderAllocatedConnection

friend class CReaderAllocatedConnection
friend

Definition at line 1238 of file request_result.hpp.

◆ CReaderRequestResultRecursion

friend class CReaderRequestResultRecursion
friend

Definition at line 1239 of file request_result.hpp.

Member Data Documentation

◆ m_AllocatedConnection

CReaderAllocatedConnection* CReaderRequestResult::m_AllocatedConnection
private

◆ m_InProcessor

int CReaderRequestResult::m_InProcessor
private

◆ m_Level

TLevel CReaderRequestResult::m_Level
private

Definition at line 1245 of file request_result.hpp.

Referenced by GetLevel(), and SetLevel().

◆ m_ReadDispatcher

CReadDispatcher& CReaderRequestResult::m_ReadDispatcher
private

Definition at line 1243 of file request_result.hpp.

Referenced by GetBlobWriter(), and GetIdWriter().

◆ m_RecursionLevel

int CReaderRequestResult::m_RecursionLevel
private

◆ m_RecursiveTime

double CReaderRequestResult::m_RecursiveTime
private

◆ m_RequestedId

CSeq_id_Handle CReaderRequestResult::m_RequestedId
private

Definition at line 1246 of file request_result.hpp.

Referenced by GetRequestedId(), and SetRequestedId().

◆ m_RetryDelay

double CReaderRequestResult::m_RetryDelay
private

Definition at line 1251 of file request_result.hpp.

Referenced by AddRetryDelay(), ClearRetryDelay(), and GetRetryDelay().

◆ m_StartTime

TExpirationTime CReaderRequestResult::m_StartTime
private

Definition at line 1252 of file request_result.hpp.

Referenced by GetStartTime().

◆ m_TSE_LockSet

TTSE_LockSet CReaderRequestResult::m_TSE_LockSet
private

Definition at line 1244 of file request_result.hpp.

Referenced by ReleaseLocks(), SaveLocksTo(), and x_AddTSE_LoadLock().


The documentation for this class was generated from the following files:
Modified on Fri May 24 14:50:47 2024 by modify_doxy.py rev. 669887