T
- The type of the option.public static interface Option.CacheKeyUpdater<T>
MessageDigest
with the given value as part of a process to
generate a disk cache key.Modifier and Type | Method and Description |
---|---|
void |
update(byte[] keyBytes,
T value,
MessageDigest messageDigest)
Updates the given
MessageDigest with the bytes of the given key (to avoid incidental
value collisions when values are not particularly unique) and value. |
void update(byte[] keyBytes, T value, MessageDigest messageDigest)
MessageDigest
with the bytes of the given key (to avoid incidental
value collisions when values are not particularly unique) and value.