接口 Caches


public interface Caches
  • 方法详细资料

    • getObjectCache

      default <K,​ V> Cache<K,​V> getObjectCache(Class<V> type)
    • getObjectCache

      <K,​ V> Cache<K,​V> getObjectCache(org.babyfish.jimmer.meta.ImmutableType type)
    • getAssociatedIdCache

      default <K,​ V,​ ST extends Table<?>> Cache<K,​V> getAssociatedIdCache(Class<ST> sourceTableType, Function<ST,​? extends Table<?>> targetTableGetter)
    • getAssociatedIdCache

      <K,​ V> Cache<K,​V> getAssociatedIdCache(org.babyfish.jimmer.meta.ImmutableProp prop)
    • getAssociatedIdListCache

      default <K,​ V,​ ST extends Table<?>> Cache<K,​List<V>> getAssociatedIdListCache(Class<ST> sourceTableType, Function<ST,​Table<?>> targetTableGetter)
    • getAssociatedIdListCache

      <K,​ V> Cache<K,​List<V>> getAssociatedIdListCache(org.babyfish.jimmer.meta.ImmutableProp prop)
    • of

      static Caches of(Consumer<CacheConfig> block)