0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
RangeLocator.cc File Reference
#include <Common/Compat.h>
#include "Hyperspace/Session.h"
#include <Hypertable/Lib/Key.h>
#include <Hypertable/Lib/NameIdMapper.h>
#include <Hypertable/Lib/RootFileHandler.h>
#include <Hypertable/Lib/RangeLocator.h>
#include <Hypertable/Lib/ScanBlock.h>
#include <Hypertable/Lib/ScanSpec.h>
#include <Common/Error.h>
#include <Common/ScopeGuard.h>
#include <boost/algorithm/string.hpp>
#include <cassert>
#include <chrono>
#include <cstdlib>
#include <cstring>
#include <thread>
#include <vector>
#include <limits.h>
#include <string.h>
Include dependency graph for RangeLocator.cc:

Go to the source code of this file.

Macros

#define SAVE_ERR(_code_, _msg_)
 
#define SAVE_ERR2(_code_, _ex_, _msg_)
 

Macro Definition Documentation

#define SAVE_ERR (   _code_,
  _msg_ 
)
Value:
do { \
lock_guard<mutex> lock(m_mutex); \
m_last_errors.push_back(HT_EXCEPTION(_code_, _msg_)); \
while (m_last_errors.size() > m_max_error_queue_length) \
m_last_errors.pop_front(); \
} while (false)
#define HT_EXCEPTION(_code_, _msg_)
Definition: Error.h:470

Definition at line 51 of file RangeLocator.cc.

#define SAVE_ERR2 (   _code_,
  _ex_,
  _msg_ 
)
Value:
do { \
lock_guard<mutex> lock(m_mutex); \
m_last_errors.push_back(HT_EXCEPTION2(_code_, _ex_, _msg_)); \
while (m_last_errors.size() > m_max_error_queue_length) \
m_last_errors.pop_front(); \
} while (false)
#define HT_EXCEPTION2(_code_, _ex_, _msg_)
Definition: Error.h:474

Definition at line 59 of file RangeLocator.cc.