Interface SnStoreSelectionStrategy

All Known Implementing Classes:
DefaultSnStoreSelectionStrategy

public interface SnStoreSelectionStrategy
Resolves the stores for a given index type.
  • Method Details

    • getDefaultStore

      Optional<BaseStoreModel> getDefaultStore(String indexTypeId)
      Returns the default store for the given index type.
      Parameters:
      indexTypeId - - the index type id
      Returns:
      the default store
    • getDefaultStore

      Optional<BaseStoreModel> getDefaultStore(SnIndexTypeModel indexType)
      Returns the default stores for the given index type.
      Parameters:
      indexType - - the index type
      Returns:
      the default store
    • getStores

      List<BaseStoreModel> getStores(String indexTypeId)
      Returns the stores for the given index type.
      Parameters:
      indexTypeId - - the index type id
      Returns:
      the stores
    • getStores

      List<BaseStoreModel> getStores(SnIndexTypeModel indexType)
      Returns the stores for the given index type.
      Parameters:
      indexType - - the index type
      Returns:
      the stores