Classes | Namespaces | Defines

FailureInducer.h File Reference

#include "HashMap.h"
#include "Mutex.h"
#include "String.h"
#include "StringExt.h"
Include dependency graph for FailureInducer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hypertable::FailureInducer
struct  Hypertable::FailureInducer::failure_inducer_state

Namespaces

namespace  Hypertable
 

Copyright (C) 2009 Doug Judd (Zvents, Inc.)


Defines

#define HT_MAYBE_FAIL(_label_)
#define HT_MAYBE_FAIL_X(_label_, _exp_)

Define Documentation

#define HT_MAYBE_FAIL (   _label_ )
Value:

Definition at line 53 of file FailureInducer.h.

#define HT_MAYBE_FAIL_X (   _label_,
  _exp_ 
)
Value:
if (Hypertable::FailureInducer::enabled() && (_exp_)) { \
    Hypertable::FailureInducer::instance->maybe_fail(_label_); \
  }

Definition at line 58 of file FailureInducer.h.