public class VolatileStore extends ObjectStore
_objectStoreRoot, shareStatus| Constructor and Description |
|---|
VolatileStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allObjUids(String s,
InputObjectState buff,
int m)
Obtain all of the Uids for a specified type.
|
boolean |
allTypes(InputObjectState buff)
Obtain all types of objects stored in the object store.
|
boolean |
commit_state(Uid u,
String tn)
Commit the object's state in the object store.
|
int |
currentState(Uid u,
String tn) |
String |
getStoreName() |
boolean |
hide_state(Uid u,
String tn)
Hide the object's state in the object store.
|
InputObjectState |
read_committed(Uid u,
String tn)
Read the object's committed state.
|
InputObjectState |
read_uncommitted(Uid u,
String tn)
Read the object's shadowed state.
|
boolean |
remove_committed(Uid u,
String tn)
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.
|
protected boolean |
supressEntry(String name)
Suppress directories of the specified type from
allTypes etc?
|
boolean |
write_committed(Uid u,
String tn,
OutputObjectState buff)
Write a new copy of the object's committed state.
|
boolean |
write_uncommitted(Uid u,
String tn,
OutputObjectState buff)
Write a copy of the object's uncommitted state.
|
allObjUids, fullCommitNeeded, initialise, isType, locateStore, revealedId, shareState, start, stop, storeDir, storeRoot, syncpublic VolatileStore(ObjectStoreEnvironmentBean objectStoreEnvironmentBean) throws ObjectStoreException
ObjectStoreExceptionpublic boolean allObjUids(String s, InputObjectState buff, int m) throws ObjectStoreException
s - The type to scan for.buff - The object state in which to store the Uidsm - The file type to look for (e.g., committed, shadowed).true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean allTypes(InputObjectState buff) throws ObjectStoreException
buff - The state in which to store the types.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic int currentState(Uid u, String tn) throws ObjectStoreException
u - The object to query.tn - The type of the object to query.ObjectStoreExceptionpublic String getStoreName()
public boolean commit_state(Uid u, String tn) throws ObjectStoreException
u - The object to work on.tn - 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
u - 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
u - 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 u, String tn) throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.ObjectStoreExceptionpublic InputObjectState read_uncommitted(Uid u, String tn) throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.ObjectStoreExceptionpublic boolean remove_committed(Uid u, String tn) throws ObjectStoreException
u - The object to work on.tn - 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
u - 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 u, String tn, OutputObjectState buff) throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.buff - The state to write.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean write_uncommitted(Uid u, String tn, OutputObjectState buff) throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.buff - The state to write.true if no errors occurred, false
otherwise.ObjectStoreExceptionprotected boolean supressEntry(String name)
supressEntry in class ObjectStoreCopyright © 2013. All rights reserved.