Interface StoreRepository


public interface StoreRepository
Manages multiple Store by there name.
  • Method Summary

    Modifier and Type
    Method
    Description
    createStore(org.apache.commons.rdf.api.IRI storeName, String ownerName)
    Creates an empty store.
    findStore(org.apache.commons.rdf.api.IRI storeName, String ownerName)
    Finds a store.
    void
    Releases the resources of this store
  • Method Details

    • findStore

      Optional<Store> findStore(org.apache.commons.rdf.api.IRI storeName, String ownerName)
      Finds a store.
      Parameters:
      storeName -
      ownerName -
      Returns:
      The store for the passed storeName.
    • createStore

      Store createStore(org.apache.commons.rdf.api.IRI storeName, String ownerName)
      Creates an empty store.
      Parameters:
      storeName -
      ownerName -
      Returns:
      The created store for the passed storeName.
    • shutdown

      void shutdown()
      Releases the resources of this store