yaoxinghuo / whirlycache Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/whirlycache
Automatically exported from code.google.com/p/whirlycache
Here they are:
1- Providing ability to put keys and values as WeakReference in
cache(removed automatically from cache after being garbage collected).
2- Providing methods of java.util.concurrent.ConcurrentMap to cache(e.g.
putIfAbsent which is atomic operation).
Original issue reported on code.google.com by [email protected]
on 24 Jul 2009 at 8:48
Hi all,
I just tried the whirlycache library 1.0.1 from the official Maven repository.
Obviously it does not find its bundle with messages, and I get the following
error:
java.util.MissingResourceException: Can't find bundle for base name com.whirlycott.cache.MessagesBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:796)
at com.whirlycott.cache.Messages.<clinit>(Messages.java:39)
... 19 more
I reverted to version 0.7.1 and it works. Could you please add the missing
bundles to the latest maven build?
Thanks
Original issue reported on code.google.com by [email protected]
on 20 Sep 2013 at 10:32
Hello, I'm fan of whirlycache and I have used it in my project at company
I work. It is great! thank you for easing the life of Java developers.
Recently I wrote some code to test whirlycache1.0.1 but the code did not
behave as expected(I have attached the code), the problem is that cache
would not call onRemove() method of Cacheable! I just do not know what is
wrong with code.
I've recently found new site and found that you are bringing the cache for
JDK5. I want to ask whether the cache is compatible with the changes
of "volatile" keyword in JDK5?
I've also some suggestions, here is suggestions:
1. Providing these methods for Cache interface: "Set keySet()",
"Collection values()" and "String getName()". The last method returns
the name of cache.
2. Providing these methods for CacheManager class: "CacheConfiguration
getCacheConfig(String cacheName)" and "reconfigCache(CacheConfiguration
newCacheConfig)". The last method is useful for self-tuning
applications.
3. This is really some suggestion(I know developers of cache are experts):
Take a look at section 5.6 of "Java Concurrency In Practice" book. That
chapter develops a cache step by step, It might help to improve
whirlycache.
Regards and Thanks again.
Original issue reported on code.google.com by [email protected]
on 10 Jul 2009 at 5:18
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.