public abstract class FileLockingStore extends FileSystemStore
doSync, scanZeroLengthFiles, syncWrites_objectStoreRoot, shareStatus| Constructor and Description |
|---|
FileLockingStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
lock(File fd,
int lmode,
boolean create)
Lock files as we would do on a Unix system.
|
protected abstract InputObjectState |
read_state(Uid u,
String tn,
int s) |
protected abstract boolean |
remove_state(Uid u,
String tn,
int s) |
protected boolean |
unlock(File fd)
Unlock the file in the object store.
|
protected abstract boolean |
write_state(Uid u,
String tn,
OutputObjectState buff,
int s) |
addToCache, allObjUids, allTypes, allTypes, closeAndUnlock, createHierarchy, exists, genPathName, getStoreName, openAndLock, read_committed, read_uncommitted, remove_committed, remove_uncommitted, removeFromCache, removeFromCache, renameFromTo, supressEntry, synchronousWrites, truncate, write_committed, write_uncommittedallObjUids, fullCommitNeeded, initialise, isType, locateStore, revealedId, shareState, start, stop, storeDir, storeRoot, syncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommit_statecurrentState, hide_state, reveal_statepublic FileLockingStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) throws ObjectStoreException
ObjectStoreExceptionprotected abstract InputObjectState read_state(Uid u, String tn, int s) throws ObjectStoreException
read_state in class FileSystemStoreObjectStoreExceptionprotected abstract boolean remove_state(Uid u, String tn, int s) throws ObjectStoreException
remove_state in class FileSystemStoreObjectStoreExceptionprotected abstract boolean write_state(Uid u, String tn, OutputObjectState buff, int s) throws ObjectStoreException
write_state in class FileSystemStoreObjectStoreExceptionprotected boolean lock(File fd, int lmode, boolean create)
lock in class FileSystemStoreprotected boolean unlock(File fd)
FileSystemStoreunlock in class FileSystemStoreCopyright © 2013. All rights reserved.