public class NullActionStore extends ShadowNoFileLockStore
HIDDINGCHAR, SHADOWCHARdoSync, scanZeroLengthFiles, syncWrites_objectStoreRoot, shareStatus| Constructor and Description |
|---|
NullActionStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commit_state(Uid objUid,
String tName)
Commit a previous write_state operation which was made with the SHADOW
StateType argument.
|
int |
currentState(Uid objUid,
String tName) |
boolean |
hide_state(Uid u,
String tn)
Hide/reveal an object regardless of state.
|
InputObjectState |
read_committed(Uid storeUid,
String tName)
Read the object's committed state.
|
InputObjectState |
read_uncommitted(Uid u,
String tn)
Read the object's shadowed state.
|
boolean |
remove_committed(Uid storeUid,
String tName)
Remove the object's committed state.
|
boolean |
remove_uncommitted(Uid u,
String tn)
Remove the object's uncommitted state.
|
boolean |
reveal_state(Uid u,
String tn)
Reveal a hidden object's state.
|
boolean |
write_committed(Uid storeUid,
String tName,
OutputObjectState state)
Write a new copy of the object's committed state.
|
boolean |
write_uncommitted(Uid u,
String tn,
OutputObjectState s)
Write a copy of the object's uncommitted state.
|
lock, unlockgenPathName, read_state, remove_state, revealedId, write_stateaddToCache, allObjUids, allTypes, allTypes, closeAndUnlock, createHierarchy, exists, getStoreName, openAndLock, removeFromCache, removeFromCache, renameFromTo, supressEntry, synchronousWrites, truncateallObjUids, fullCommitNeeded, initialise, isType, locateStore, shareState, start, stop, storeDir, storeRoot, syncpublic NullActionStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) throws ObjectStoreException
ObjectStoreExceptionpublic int currentState(Uid objUid, String tName) throws ObjectStoreException
currentState in interface RecoveryStorecurrentState in class ShadowingStoreobjUid - The object to query.tName - The type of the object to query.ObjectStoreExceptionpublic boolean commit_state(Uid objUid, String tName) throws ObjectStoreException
commit_state in interface ParticipantStorecommit_state in class ShadowingStoreobjUid - The object to work on.tName - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean hide_state(Uid u, String tn) throws ObjectStoreException
ShadowingStorehide_state in interface RecoveryStorehide_state in class ShadowingStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean reveal_state(Uid u, String tn) throws ObjectStoreException
RecoveryStorereveal_state in interface RecoveryStorereveal_state in class ShadowingStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic InputObjectState read_committed(Uid storeUid, String tName) throws ObjectStoreException
ParticipantStoreread_committed in interface ParticipantStoreread_committed in interface RecoveryStoreread_committed in class FileSystemStorestoreUid - The object to work on.tName - The type of the object to work on.ObjectStoreExceptionpublic InputObjectState read_uncommitted(Uid u, String tn) throws ObjectStoreException
ParticipantStoreread_uncommitted in interface ParticipantStoreread_uncommitted in class FileSystemStoreu - The object to work on.tn - The type of the object to work on.ObjectStoreExceptionpublic boolean remove_committed(Uid storeUid, String tName) throws ObjectStoreException
TxLogremove_committed in interface TxLogremove_committed in class FileSystemStorestoreUid - The object to work on.tName - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean remove_uncommitted(Uid u, String tn) throws ObjectStoreException
ParticipantStoreremove_uncommitted in interface ParticipantStoreremove_uncommitted in class FileSystemStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean write_committed(Uid storeUid, String tName, OutputObjectState state) throws ObjectStoreException
TxLogwrite_committed in interface TxLogwrite_committed in class FileSystemStorestoreUid - The object to work on.tName - The type of the object to work on.state - The state to write.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean write_uncommitted(Uid u, String tn, OutputObjectState s) throws ObjectStoreException
ParticipantStorewrite_uncommitted in interface ParticipantStorewrite_uncommitted in class FileSystemStoreu - The object to work on.tn - The type of the object to work on.s - The state to write.true if no errors occurred, false
otherwise.ObjectStoreExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.