TestHaltApp

The application code for the {@link TestHalt} application.

Methods
static void main(String... args)
This method is called when executing this application from the command line.
static void main(String... args) throws Exception
This method is called when executing this application from the command line.
Parameters:
args - the command line parameters
void controllerCheckAfterCrash()
This method is called after a simulated crash.
void controllerCheckAfterCrash() throws SQLException
This method is called after a simulated crash. The method should check if the data is transactionally consistent and throw an exception if not.
Throws:
SQLException - if the data is not consistent.
void controllerInit()
Initialize the database.
void controllerInit() throws SQLException
Initialize the database.
void controllerWaitAfterAppStart()
Wait after the application has been started.
void controllerWaitAfterAppStart() throws Exception
Wait after the application has been started.
void execute(Statement stat, String sql)
void execute(Statement stat, String sql) throws SQLException
void processAppRun()
Run the application code.
void processAppRun() throws SQLException
Run the application code.
void processAppStart()
Initialize the application.
void processAppStart() throws SQLException
Initialize the application.