public class HashedStore extends ShadowNoFileLockStore
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NUMBER_DIRECTORIES |
static char |
SHADOWCHAR |
HIDDINGCHAR
doSync, scanZeroLengthFiles, syncWrites
_objectStoreRoot, shareStatus
Constructor and Description |
---|
HashedStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) |
Modifier and Type | Method and Description |
---|---|
boolean |
allObjUids(String tName,
InputObjectState state,
int match)
Given a type name initialise
state to contains all of the
Uids of objects of that type |
protected String |
genPathName(Uid objUid,
String tName,
int otype) |
protected String |
truncate(String value) |
lock, unlock
commit_state, currentState, hide_state, read_state, remove_state, reveal_state, revealedId, write_state
addToCache, allTypes, allTypes, closeAndUnlock, createHierarchy, exists, getStoreName, openAndLock, read_committed, read_uncommitted, remove_committed, remove_uncommitted, removeFromCache, removeFromCache, renameFromTo, renameFromToInternal, supressEntry, synchronousWrites, write_committed, write_uncommitted
allObjUids, fullCommitNeeded, initialise, isType, locateStore, shareState, start, stop, storeDir, storeRoot, sync
public static final char SHADOWCHAR
public static final int DEFAULT_NUMBER_DIRECTORIES
public HashedStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) throws ObjectStoreException
ObjectStoreException
public boolean allObjUids(String tName, InputObjectState state, int match) throws ObjectStoreException
state
to contains all of the
Uids of objects of that typeallObjUids
in interface RecoveryStore
allObjUids
in class FileSystemStore
tName
- The type to scan for.state
- The object state in which to store the Uidsmatch
- The file type to look for (e.g., committed, shadowed). [StateStatus]true
if no errors occurred, false
otherwise.ObjectStoreException
protected String truncate(String value)
truncate
in class FileSystemStore
protected String genPathName(Uid objUid, String tName, int otype) throws ObjectStoreException
genPathName
in class ShadowingStore
ObjectStoreException
Copyright © 2021 JBoss by Red Hat. All rights reserved.