Lines Matching defs:TpcbExample
6 * $Id: TpcbExample.cpp,v 12.8 2008/01/08 20:58:26 bostic Exp $
31 const char *progname = "TpcbExample"; // Program name.
33 class TpcbExample : public DbEnv
47 TpcbExample(const char *home, int cachesize, int flags);
53 TpcbExample(const TpcbExample &);
54 void operator = (const TpcbExample &);
209 TpcbExample app(home, mpool, txn_no_sync ? DB_TXN_NOSYNC : 0);
226 cerr << "TpcbExample: " << dbe.what() << "\n";
234 cerr << "TpcbExample: invalid argument for -"
242 cerr << "usage: TpcbExample [-fiv] [-a accounts] [-b branches]\n"
248 TpcbExample::TpcbExample(const char *home, int cachesize, int flags)
254 set_errpfx("TpcbExample");
272 TpcbExample::populate(int accounts, int branches, int history, int tellers)
380 TpcbExample::populateTable(Db *dbp,
405 TpcbExample::populateHistory(Db *dbp, int nrecs, u_int32_t accounts,
468 TpcbExample::run(int n, int accounts, int branches, int tellers)
531 TpcbExample::txn(Db *adb, Db *bdb, Db *tdb, Db *hdb,