Timeout configuration; the consuming operation performs waits and checks.
创建固定超时配置,复制 timeout 的时长。
创建周期检查配置;period 默认 1 毫秒,null 表示首次检查即结束等待。
Optional
复制配置,保留同一个谓词函数并复制检查周期。
返回只读的检查周期;固定超时配置返回其超时时长。
返回决定是否继续等待的谓词函数。
Timeout configuration; the consuming operation performs waits and checks.