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

Package org.apache.hadoop.yarn.sharedcache

# Class SharedCacheChecksumFactory

java.lang.Object
org.apache.hadoop.yarn.sharedcache.SharedCacheChecksumFactory

@Public @Evolving public class SharedCacheChecksumFactory extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SharedCacheChecksumFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static SharedCacheChecksum`
  `getChecksum(org.apache.hadoop.conf.Configuration conf)`
  Get a new `SharedCacheChecksum` object based on the configurable algorithm implementation (see `yarn.sharedcache.checksum.algo.impl`).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SharedCacheChecksumFactory

    public SharedCacheChecksumFactory()

- ## Method Details

  - ### getChecksum

    public static SharedCacheChecksum getChecksum(org.apache.hadoop.conf.Configuration conf)
    Get a new `SharedCacheChecksum` object based on the configurable algorithm implementation (see `yarn.sharedcache.checksum.algo.impl`).
    Parameters:
      `conf` - configuration.
    Returns:
      `SharedCacheChecksum` object