Interface DataStore

All Known Implementing Classes:
UnixFSDataStore

public interface DataStore
Defines the data storage for underlying revision based data store.
  • Method Details

    • getTaskIndex

      TaskIndex getTaskIndex()
      Gets the index of tasks.
      Returns:
      the TaskIndex
    • getPathIndex

      PathIndex getPathIndex()
      Gets the PathIndex which manages the relationship between Paths with ResourceIds.
      Returns:
      the PathIndex
    • getResourceIndex

      ResourceIndex getResourceIndex()
      Returns the ResourceIndex which manages the relationship betwen ResourceIds and their underlying persistent storage.
      Returns:
      the ResourceIndex
    • removeAllResources

      void removeAllResources(NodeId nodeId)
      Removes all Resource instances from the datastore. This operation will essentially clear the entire data store, all revisions etc.