Package 

Interface Option.CacheKeyUpdater

    • Method Summary

      Modifier and Type Method Description
      abstract void update(@NonNull() Array<byte> keyBytes, @NonNull() T value, @NonNull() MessageDigest messageDigest) Updates the given MessageDigest with the bytes of the given key (to avoid incidentalvalue collisions when values are not particularly unique) and value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • update

         abstract void update(@NonNull() Array<byte> keyBytes, @NonNull() T value, @NonNull() MessageDigest messageDigest)

        Updates the given MessageDigest with the bytes of the given key (to avoid incidentalvalue collisions when values are not particularly unique) and value.

        If your Option shouldn't affect the disk cache key, you should not implement thisclass and use memory or memory instead.

        Parameters:
        keyBytes - The bytes of the String used as the key for this particular .
        value - The value of of this particular option.