Giter Site home page Giter Site logo

whirlycache's Introduction

Hi there ๐Ÿ‘‹

Terry's Top Langs

Terry's github stats

whirlycache's People

Watchers

 avatar

whirlycache's Issues

Sorry I forgot two suggestions...

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

MissingResourceException when using version 1.0.1 from the Maven repository

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

Some bugs, Some questions and Some suggestions

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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.