Package com.arjuna.ats.txoj.lockstore
Class LockStore
- java.lang.Object
-
- com.arjuna.ats.txoj.lockstore.LockStore
-
public abstract class LockStore extends java.lang.ObjectThe lock store interface is the application's route to using a specific lock store implementation. The interface dynamically binds to an implementation of the right type.- Since:
- JTS 1.0.
- Version:
- $Id: LockStore.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLockStore()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract InputObjectStateread_state(Uid u, java.lang.String tName)abstract booleanremove_state(Uid u, java.lang.String tname)Remove the state from the lock store.abstract booleanwrite_committed(Uid u, java.lang.String tName, OutputObjectState state)Write the state to the lock store.
-
-
-
Method Detail
-
read_state
public abstract InputObjectState read_state(Uid u, java.lang.String tName) throws LockStoreException
- Throws:
LockStoreException
-
remove_state
public abstract boolean remove_state(Uid u, java.lang.String tname)
Remove the state from the lock store.
-
write_committed
public abstract boolean write_committed(Uid u, java.lang.String tName, OutputObjectState state)
Write the state to the lock store.
-
-