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 theResourceIndexwhich manages the relationship betwenResourceIds and their underlying persistent storage.Gets the index of tasks.voidremoveAllResources(NodeId nodeId) Removes allResourceinstances 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 theResourceIndexwhich manages the relationship betwenResourceIds and their underlying persistent storage.- Returns:
- the
ResourceIndex
-
removeAllResources
Removes allResourceinstances from the datastore. This operation will essentially clear the entire data store, all revisions etc.
-