类 AbstractRemoteValueBinder<K,V>

java.lang.Object
org.babyfish.jimmer.sql.cache.spi.AbstractRemoteValueBinder<K,V>
所有已实现的接口:
SimpleBinder<K,V>

public abstract class AbstractRemoteValueBinder<K,V> extends Object implements SimpleBinder<K,V>
  • 构造器详细资料

    • AbstractRemoteValueBinder

      protected AbstractRemoteValueBinder(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.babyfish.jimmer.meta.ImmutableType type, org.babyfish.jimmer.meta.ImmutableProp prop, Duration duration, int randomPercent)
  • 方法详细资料

    • getAll

      public final Map<K,V> getAll(Collection<K> keys)
      指定者:
      getAll 在接口中 SimpleBinder<K,V>
    • setAll

      public final void setAll(Map<K,V> map)
      指定者:
      setAll 在接口中 SimpleBinder<K,V>
    • read

      protected abstract List<byte[]> read(Collection<String> keys)
    • write

      protected abstract void write(Map<String,byte[]> map)
    • getKeyPrefix

      protected String getKeyPrefix(org.babyfish.jimmer.meta.ImmutableType type)
    • getKeyPrefix

      protected String getKeyPrefix(org.babyfish.jimmer.meta.ImmutableProp prop)
    • nextExpireMillis

      protected long nextExpireMillis()
    • deleteAll

      public final void deleteAll(Collection<K> keys, Object reason)
    • delete

      protected abstract void delete(Collection<String> keys)
    • reason

      protected abstract String reason()