Class ShadowNoFileLockStore
java.lang.Object
com.arjuna.ats.arjuna.objectstore.ObjectStore
com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore
com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore
com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore
- All Implemented Interfaces:
BaseStore
,ObjectStoreAPI
,ParticipantStore
,RecoveryStore
,TxLog
- Direct Known Subclasses:
ActionStore
,HashedStore
,NullActionStore
Almost the same as the ShadowingStore implementation, but assumes all
concurrency control is provided by the object. Therefore, there is no need to
set/release locks on the file representation in the object store. Saves time.
- Since:
- JTS 1.0.
- Version:
- $Id: ShadowNoFileLockStore.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Field Summary
Fields inherited from class com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore
HIDDINGCHAR, SHADOWCHAR
Fields inherited from class com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore
doSync, scanZeroLengthFiles, syncWrites
Fields inherited from class com.arjuna.ats.arjuna.objectstore.ObjectStore
_objectStoreRoot, shareStatus
-
Constructor Summary
ConstructorDescriptionShadowNoFileLockStore
(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) -
Method Summary
Methods inherited from class com.arjuna.ats.internal.arjuna.objectstore.ShadowingStore
commit_state, currentState, genPathName, hide_state, read_state, remove_state, reveal_state, revealedId, write_state
Methods inherited from class com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore
addToCache, allObjUids, allTypes, allTypes, closeAndUnlock, createHierarchy, exists, getStoreName, openAndLock, read_committed, read_uncommitted, remove_committed, remove_uncommitted, removeFromCache, removeFromCache, renameFromTo, renameFromToInternal, supressEntry, synchronousWrites, truncate, write_committed, write_uncommitted
Methods inherited from class com.arjuna.ats.arjuna.objectstore.ObjectStore
allObjUids, fullCommitNeeded, initialise, isType, locateStore, shareState, start, stop, storeDir, storeRoot, sync
-
Constructor Details
-
ShadowNoFileLockStore
public ShadowNoFileLockStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) throws ObjectStoreException - Throws:
ObjectStoreException
-
-
Method Details
-
lock
Override the default lock/unlock implementations to do nothing.- Overrides:
lock
in classFileSystemStore
-
unlock
Description copied from class:FileSystemStore
Unlock the file in the object store.- Overrides:
unlock
in classFileSystemStore
-