NCBI C++ ToolKit
Functions | Variables
ns_restore_state.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include "ns_restore_state.hpp"
#include "ns_types.hpp"
#include "ns_queue.hpp"
#include "ns_server.hpp"
#include <sstream>
+ Include dependency graph for ns_restore_state.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

bool IsPauseStatusValid (int value)
 
void SerializePauseState (CNetScheduleServer *server)
 
void SerializePauseState (const string &data_path, const map< string, int > &paused_queues)
 
void SerializeRefuseSubmitState (CNetScheduleServer *server)
 
void SerializeRefuseSubmitState (const string &data_path, bool server_refuse_state, const vector< string > refuse_submit_queues)
 
map< string, intDeserializePauseState (const string &data_path, bool diskless)
 
vector< stringDeserializeRefuseSubmitState (const string &data_path, bool diskless)
 

Variables

CFastMutex g_PausedQueueLock
 
CFastMutex g_RefuseSubmitLock
 

Function Documentation

◆ DeserializePauseState()

map<string, int> DeserializePauseState ( const string data_path,
bool  diskless 
)

◆ DeserializeRefuseSubmitState()

vector<string> DeserializeRefuseSubmitState ( const string data_path,
bool  diskless 
)

◆ IsPauseStatusValid()

bool IsPauseStatusValid ( int  value)

◆ SerializePauseState() [1/2]

void SerializePauseState ( CNetScheduleServer server)

◆ SerializePauseState() [2/2]

void SerializePauseState ( const string data_path,
const map< string, int > &  paused_queues 
)

◆ SerializeRefuseSubmitState() [1/2]

void SerializeRefuseSubmitState ( CNetScheduleServer server)

◆ SerializeRefuseSubmitState() [2/2]

void SerializeRefuseSubmitState ( const string data_path,
bool  server_refuse_state,
const vector< string refuse_submit_queues 
)

Variable Documentation

◆ g_PausedQueueLock

CFastMutex g_PausedQueueLock

Definition at line 49 of file ns_restore_state.cpp.

Referenced by SerializePauseState().

◆ g_RefuseSubmitLock

CFastMutex g_RefuseSubmitLock

Definition at line 50 of file ns_restore_state.cpp.

Referenced by SerializeRefuseSubmitState().

Modified on Sun Apr 21 03:41:18 2024 by modify_doxy.py rev. 669887