Skip to content

A library for applying the strategy of caching the computed values of a method using aspect annotation.

License

Notifications You must be signed in to change notification settings

eugene-savko/cache-strategy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache-strategy

A library for applying the strategy of caching the computed values of a method using aspect annotation.

Getting Started

Examples

@CacheStrategy(cacheName = "cachename2")
public Map<String, Long> getUserUids(String entityId, @CacheKey List<String> userIds) {
    return userIds.stream().collect(Collectors.toMap(Function.identity(), userId -> System.nanoTime()));
}

About

A library for applying the strategy of caching the computed values of a method using aspect annotation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published