Class SHA256KeyHashingScheme

    • Constructor Detail

      • SHA256KeyHashingScheme

        public SHA256KeyHashingScheme()
    • Method Detail

      • hash

        public String hash​(String key)
        Description copied from interface: KeyHashingScheme
        Maps a storage key to a cache key. The storage key is what the higher-level HTTP cache uses as a key; the cache key is what we use as a key for talking to memcached.
        Specified by:
        hash in interface KeyHashingScheme
        Parameters:
        key - what the higher-level HTTP cache wants to use as its key for looking up cache entries
        Returns:
        a cache key suitable for use with memcached