Class KeyProviderCache

java.lang.Object
org.apache.hadoop.hdfs.KeyProviderCache

@Private public class KeyProviderCache extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeyProviderCache(long expiryMs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.crypto.key.KeyProvider
    get(org.apache.hadoop.conf.Configuration conf, URI serverProviderUri)
     
    void
    setKeyProvider(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.crypto.key.KeyProvider keyProvider)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
    • SHUTDOWN_HOOK_PRIORITY

      public static final int SHUTDOWN_HOOK_PRIORITY
      See Also:
  • Constructor Details

    • KeyProviderCache

      public KeyProviderCache(long expiryMs)
  • Method Details

    • get

      public org.apache.hadoop.crypto.key.KeyProvider get(org.apache.hadoop.conf.Configuration conf, URI serverProviderUri)
    • setKeyProvider

      @VisibleForTesting public void setKeyProvider(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.crypto.key.KeyProvider keyProvider)