Overview
This section helps you to understand how to accomplish pessimistic locking in TAFJ.
TAFJ uses tLockManager or one of the mechanisms for database locking as a lock manager for its needs. tLockManager is a process that runs outside of the database.
You need to use the following syntax to launch the tLockManager:
tLockManager [-p<port>][-m1|2][-i | -jvm= "<jvm_args>" ] [--jmx] [--verbose] [--debug]
Where,
- -p<port> : It specifies the port on which to connect to.
- -i : It is used to run interactively (not in background).
- -m : 1 for normal and 2 for hash
- --verbose : It is used to run in verbose mode.
- --debug : In verbose mode trace debug
In this topic