-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CaffeineSpec for externalized configurations (fixes #37)
Similar to Guava's CacheBuilderSpec, the CaffeineSpec simplifies the creation of a builder from externalized flags. This can be useful for configuration files, such as Spring properties. The string format and options are the same as Guava's, except that `concurrencyLevel` is not supported. The `disableCaching` factory method was not ported over since its usefulness seemed questionable. CaffeineSpec passes Guava's test cases, with the above changes made.
- Loading branch information
Showing
18 changed files
with
1,336 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.