Module bus.cache

Interface AbstractReader.ThrowableSupplier<T>

Type Parameters:
T - 返回值类型
Enclosing class:
AbstractReader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface AbstractReader.ThrowableSupplier<T>
可抛出异常的供应者接口

函数式接口,用于包装可能抛出异常的操作。

  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    获取结果
  • Method Details

    • get

      T get() throws Throwable
      获取结果
      Returns:
      结果
      Throws:
      Throwable - 可能抛出的异常