com.arjuna.ats.txoj.lockstore
Class LockStore

java.lang.Object
  extended by com.arjuna.ats.txoj.lockstore.LockStore

public abstract class LockStore
extends Object

The 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
protected LockStore()
           
 
Method Summary
abstract  InputObjectState read_state(Uid u, String tName)
           
abstract  boolean remove_state(Uid u, String tname)
          Remove the state from the lock store.
abstract  boolean write_committed(Uid u, String tName, OutputObjectState state)
          Write the state to the lock store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockStore

protected LockStore()
Method Detail

read_state

public abstract InputObjectState read_state(Uid u,
                                            String tName)
                                     throws LockStoreException
Throws:
LockStoreException

remove_state

public abstract boolean remove_state(Uid u,
                                     String tname)
Remove the state from the lock store.


write_committed

public abstract boolean write_committed(Uid u,
                                        String tName,
                                        OutputObjectState state)
Write the state to the lock store.



Copyright © 2012. All Rights Reserved.