Interface CacheWarmer.ProgressCallback<K>

Type Parameters:
K - the key type | 键类型
Enclosing class:
CacheWarmer<K,V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CacheWarmer.ProgressCallback<K>
Progress callback interface 进度回调接口
Since:
JDK 25, opencode-base-cache V2.0.5
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called on warming progress update | 预热进度更新时调用
  • Method Details

    • onProgress

      void onProgress(CacheWarmer.ProgressSnapshot<K> progress)
      Called on warming progress update | 预热进度更新时调用
      Parameters:
      progress - the progress snapshot | 进度快照