This sample demonstrates extending a database in eXtremeDB High Availability. The master application creates the database, then enters a loop inserting objects and at intervals extending the database memory. Replica applications receive notification when the master has extended the database and report the new database size.
To execute the sample, it is necessary to start the application "master" first.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory.In a console window run:
haextend_masterThen in a second console window run:
haextend_replicaBut it is more instructive to run one instance in your development environment debugger, stepping through the code.