Interface SettingsProvider


public interface SettingsProvider
  • Method Details

    • refreshCache

      void refreshCache()
    • findById

      @NotNull @NotNull Optional<Settings> findById(@NotNull @NotNull String tag)
    • findAll

      @NotNull @NotNull @Unmodifiable List<Settings> findAll()
    • upsert

      @NotNull @NotNull Optional<Settings> upsert(@NotNull @NotNull String tagId, @NotNull @NotNull String json)
    • delete

      int delete(@NotNull @NotNull String tagId)
    • of

      @Internal @NotNull static @NotNull SettingsProvider of(de.murmelmeister.library.database.Database database, com.google.gson.Gson gson, RefreshProvider refreshProvider, Long fetchLimit, long cacheCapacity, Duration refreshInterval)