NCBI C++ ToolKit
|
Classes | |
class | CObj |
class | ILocation |
struct | SContext |
class | CROState |
class | CRWNotFound |
class | CRONetCache |
class | CWONetCache |
class | CROFileTrack |
class | CWOFileTrack |
class | CNotFound |
class | CNetCache |
class | CFileTrack |
Typedefs | |
using | CLocation = SNetStorageObjectDirectState< ILocation > |
template<class TBase > | |
using | TState = SNetStorageObjectState< SNetStorageObjectDirectState< TBase > > |
Functions | |
void | s_Check (ERW_Result result, const char *what) |
CNetICacheClient | s_GetICClient (const SCombinedNetStorageConfig &c) |
string | s_GetSection (const IRegistry ®istry, const string &service, const string &name) |
SFileTrackConfig | s_GetFTConfig (const IRegistry ®istry, const string &service) |
CNetICacheClient | s_GetICClient (const IRegistry ®istry, const string &service) |
string | s_GetAppDomain (const string &app_domain, CNetICacheClient &nc_client) |
size_t | s_GetRelocateChunk (const IRegistry ®istry, const string &service, size_t default_value) |
Variables | |
const size_t | kRelocateChunk = 1024 * 1024 |
using NDirectNetStorageImpl::CLocation = typedef SNetStorageObjectDirectState<ILocation> |
using NDirectNetStorageImpl::TState = typedef SNetStorageObjectState<SNetStorageObjectDirectState<TBase> > |
void NDirectNetStorageImpl::s_Check | ( | ERW_Result | result, |
const char * | what | ||
) |
Definition at line 184 of file object.cpp.
References eRW_Eof, eRW_Error, eRW_NotImplemented, eRW_Success, eRW_Timeout, NCBI_THROW_FMT, and result.
Referenced by NDirectNetStorageImpl::CObj::Relocate().
string NDirectNetStorageImpl::s_GetAppDomain | ( | const string & | app_domain, |
CNetICacheClient & | nc_client | ||
) |
Definition at line 693 of file state.cpp.
References CNetICacheClient::GetCacheName().
SFileTrackConfig NDirectNetStorageImpl::s_GetFTConfig | ( | const IRegistry & | registry, |
const string & | service | ||
) |
Definition at line 675 of file state.cpp.
References eVoid, IRegistry::Get(), registry, and s_GetSection().
CNetICacheClient NDirectNetStorageImpl::s_GetICClient | ( | const IRegistry & | registry, |
const string & | service | ||
) |
Definition at line 684 of file state.cpp.
References eVoid, IRegistry::Get(), registry, and s_GetSection().
CNetICacheClient NDirectNetStorageImpl::s_GetICClient | ( | const SCombinedNetStorageConfig & | c | ) |
Definition at line 650 of file state.cpp.
References SNetStorage::SConfig::app_domain, SNetStorage::SConfig::client_name, eVoid, and SNetStorage::SConfig::nc_service.
size_t NDirectNetStorageImpl::s_GetRelocateChunk | ( | const IRegistry & | registry, |
const string & | service, | ||
size_t | default_value | ||
) |
Definition at line 712 of file state.cpp.
References IRegistry::GetInt(), registry, and s_GetSection().
string NDirectNetStorageImpl::s_GetSection | ( | const IRegistry & | registry, |
const string & | service, | ||
const string & | name | ||
) |
Definition at line 660 of file state.cpp.
References IRegistry::HasEntry(), and registry.
Referenced by s_GetFTConfig(), s_GetICClient(), and s_GetRelocateChunk().