Interface DataStore
- All Known Implementing Classes:
UnixFSDataStore
public interface DataStore
Defines the data storage for underlying revision based data store.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theResourceIndex
which manages the relationship betwenResourceId
s and their underlying persistent storage.Gets the index of tasks.void
removeAllResources
(NodeId nodeId) Removes allResource
instances from the datastore.
-
Method Details
-
getTaskIndex
TaskIndex getTaskIndex()Gets the index of tasks.- Returns:
- the
TaskIndex
-
getPathIndex
PathIndex getPathIndex()- Returns:
- the
PathIndex
-
getResourceIndex
ResourceIndex getResourceIndex()Returns theResourceIndex
which manages the relationship betwenResourceId
s and their underlying persistent storage.- Returns:
- the
ResourceIndex
-
removeAllResources
Removes allResource
instances from the datastore. This operation will essentially clear the entire data store, all revisions etc.
-