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.
Progress callback interface
进度回调接口
- Since:
- JDK 25, opencode-base-cache V2.0.5
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
Modifier and TypeMethodDescriptionvoidonProgress(CacheWarmer.ProgressSnapshot<K> progress) Called on warming progress update | 预热进度更新时调用
-
Method Details
-
onProgress
Called on warming progress update | 预热进度更新时调用- Parameters:
progress- the progress snapshot | 进度快照
-