接口 Cache<K,V>

所有已知子接口:
Cache.Parameterized<K,V>, UsedCache<K,V>, UsedCache.Parameterized<K,V>

public interface Cache<K,V>
  • 方法详细资料

    • type

      @NotNull @NotNull org.babyfish.jimmer.meta.ImmutableType type()
    • prop

      @Nullable @Nullable org.babyfish.jimmer.meta.ImmutableProp prop()
    • get

      @Nullable default V get(@NotNull K key, @NotNull @NotNull CacheEnvironment<K,V> env)
    • getAll

      @NotNull @NotNull Map<K,V> getAll(@NotNull @NotNull Collection<K> keys, @NotNull @NotNull CacheEnvironment<K,V> env)
    • delete

      default void delete(@NotNull K key)
    • delete

      default void delete(@NotNull K key, Object reason)
    • deleteAll

      default void deleteAll(@NotNull @NotNull Collection<K> keys)
    • deleteAll

      void deleteAll(@NotNull @NotNull Collection<K> keys, @Nullable @Nullable Object reason)