CallableRaisingIOE (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util.functional, interface: CallableRaisingIOE

Package org.apache.hadoop.util.functional

# Interface CallableRaisingIOE<R>

Type Parameters:
  `R` - return type

All Known Implementing Classes:
  `LazyAtomicReference`, `LazyAutoCloseableReference`

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 interface CallableRaisingIOE<R>
This is a callable which only raises an IOException. Its method `unchecked()` invokes the `apply()` method and wraps all IOEs in UncheckedIOException; call this if you need to pass this through java streaming APIs

- ## Method Summary

  Modifier and Type
  Method
  Description
  `R`
  `apply()`
  Apply the operation.
  `default R`
  `unchecked()`
  Apply unchecked.

- ## Method Details

  - ### apply

    R apply() throws IOException
    Apply the operation.
    Returns:
      result
    Throws:
      `IOException` - Any IO failure

  - ### unchecked

    default R unchecked()
    Apply unchecked.
    Returns:
      the evaluated call
    Throws:
      `UncheckedIOException` - IOE raised.