接口 Caches

所有已知实现类:
CachesImpl

public interface Caches
  • 方法概要

    修饰符和类型
    方法
    说明
    default <K,​ V> Cache<K,​V>
    getObjectCache​(Class<V> type)
     
    <K,​ V> Cache<K,​V>
    getObjectCache​(org.babyfish.jimmer.meta.ImmutableType type)
     
    <K,​ V> Cache<K,​V>
    getPropertyCache​(org.babyfish.jimmer.meta.ImmutableProp prop)
     
    default <K,​ V> Cache<K,​V>
    getPropertyCache​(org.babyfish.jimmer.meta.TypedProp<?,​?> prop)
     
    default void
    invalidateByBinLog​(String tableName, com.fasterxml.jackson.databind.JsonNode oldData, com.fasterxml.jackson.databind.JsonNode newData)
     
    void
    invalidateByBinLog​(String tableName, com.fasterxml.jackson.databind.JsonNode oldData, com.fasterxml.jackson.databind.JsonNode newData, Object reason)
     
    boolean
    isAffectedBy​(String tableName)
     
  • 方法详细资料

    • getObjectCache

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

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

      default <K,​ V> Cache<K,​V> getPropertyCache(org.babyfish.jimmer.meta.TypedProp<?,​?> prop)
    • getPropertyCache

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

      boolean isAffectedBy(String tableName)
    • invalidateByBinLog

      default void invalidateByBinLog(String tableName, com.fasterxml.jackson.databind.JsonNode oldData, com.fasterxml.jackson.databind.JsonNode newData)
    • invalidateByBinLog

      void invalidateByBinLog(String tableName, com.fasterxml.jackson.databind.JsonNode oldData, com.fasterxml.jackson.databind.JsonNode newData, Object reason)