These caches have the option of being built with no locking and auto locking guarded via a mutex.
When to use the no locking option:
For single threaded code.
When you wish control your own locking semantics.
When to use auto locking:
Ease of use, but still the ability to perform multiple operations using the LockGuard.
License
Licensed under either of Apache License, Version
2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this package by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.