Interface OpenBatch.ProgressCallback

Enclosing class:
OpenBatch
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 OpenBatch.ProgressCallback
Progress callback interface 进度回调接口
Since:
JDK 25, opencode-base-io V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onProgress(Path path, int current, int total)
    Called for each processed item 每个处理项调用
  • Method Details

    • onProgress

      void onProgress(Path path, int current, int total)
      Called for each processed item 每个处理项调用
      Parameters:
      path - current path | 当前路径
      current - current index (1-based) | 当前索引(从1开始)
      total - total count | 总数