Interface PersistenceProvider

All Known Implementing Classes:
BaseStringPersistenceProvider, InMemoryMapPersistenceProvider, PropertiesFilePersistenceProvider, SimplifiedPropertiesFilePersistenceProvider

public interface PersistenceProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    delete(@NotNull String key)
     
    <X> X
    get(@NotNull String key, @NotNull com.fasterxml.jackson.core.type.TypeReference<X> type, X dflt)
     
    <X> X
    get(@NotNull String key, @NotNull Class<X> type, X dflt)
     
    void
    save(@NotNull String key, @NotNull Object value)
     
  • Method Details

    • save

      void save(@NotNull @NotNull String key, @NotNull @NotNull Object value)
    • get

      <X> X get(@NotNull @NotNull String key, @NotNull @NotNull Class<X> type, @Nullable X dflt)
    • get

      <X> X get(@NotNull @NotNull String key, @NotNull @NotNull com.fasterxml.jackson.core.type.TypeReference<X> type, @Nullable X dflt)
    • delete

      void delete(@NotNull @NotNull String key)
    • clearAll

      void clearAll()