Class BasicLockStore
java.lang.Object
com.arjuna.ats.txoj.lockstore.LockStore
com.arjuna.ats.internal.txoj.lockstore.BasicLockStore
A very basic lock store implementation. It saves the locks in process, i.e.,
in the memory of the JVM.
- Since:
- JTS 1.0.
- Version:
- $Id: BasicLockStore.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread_state
(Uid u, String tName) boolean
remove_state
(Uid u, String tName) Remove the state from the lock store.boolean
write_committed
(Uid u, String tName, OutputObjectState state) Write the state to the lock store.
-
Constructor Details
-
BasicLockStore
public BasicLockStore()
-
-
Method Details
-
read_state
- Specified by:
read_state
in classLockStore
- Throws:
LockStoreException
-
remove_state
Description copied from class:LockStore
Remove the state from the lock store.- Specified by:
remove_state
in classLockStore
-
write_committed
Description copied from class:LockStore
Write the state to the lock store.- Specified by:
write_committed
in classLockStore
-