SharedCacheChecksum (Apache Hadoop YARN Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.sharedcache, interface: SharedCacheChecksum

Package org.apache.hadoop.yarn.sharedcache

# Interface SharedCacheChecksum

All Known Implementing Classes:
  `ChecksumSHA256Impl`

@Public @Evolving public interface SharedCacheChecksum

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `computeChecksum(InputStream in)`
  Calculate the checksum of the passed input stream.

- ## Method Details

  - ### computeChecksum

    String computeChecksum(InputStream in) throws IOException
    Calculate the checksum of the passed input stream.
    Parameters:
      `in` - `InputStream` to be checksumed
    Returns:
      the message digest of the input stream
    Throws:
      `IOException` - io error occur.