MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Bank Class Reference

Public Member Functions

 Bank (Ndb_cluster_connection &, bool init=true, const char *dbase="BANK")
void setSkipCreate (bool skip)
int createAndLoadBank (bool overWrite, bool disk=false, int num_accounts=10)
int dropBank ()
int performTransactions (int maxSleepBetweenTrans=20, int yield=0)
int performMakeGLs (int yield=0)
int performValidateAllGLs ()
int performSumAccounts (int maxSleepBetweenSums=2000, int yield=0)
int performIncreaseTime (int maxSleepBetweenDays=30, int yield=0)

Detailed Description

Definition at line 29 of file Bank.hpp.

Member Function Documentation

int Bank::performMakeGLs ( int  yield = 0)

Validate GLs and Transactions for previous days

Find last GL time. ( GL record with highest time value)

If last GL time + 1 is smaller than current time perform a GL for that time

Definition at line 506 of file Bank.cpp.

int Bank::performValidateAllGLs ( )

Validate GLs and Transactions for previous days Set age so that ALL GL's are validated

Definition at line 609 of file Bank.cpp.


The documentation for this class was generated from the following files: