Hello all, we released version 1.0.1 of our concurrent LinkedHashMap implementation.
In the latest version several minor modifications have been made so as to improve performance when multiple threads iterate over the elements of the map.
The latest version also introduces pluggable eviction policies. Of course you can implement custom eviction policies and use them with out ConcurrentLinkedHashMap as well. Out of the box we provide seven popular eviction policy implementations :
- FIFO (First In First Out) eviction policy
- LIFO (Last In First Out) eviction policy
- LFU (Least Frequently Used) eviction policy
- LRU (Least Recently Used) eviction policy
- MRU (Most Recently Used) eviction policy
- Expiration (age and idle time) eviction policy
- Random (random element) eviction policy
Bulletproof Java Code: A Practical Strategy for Developing Functional, Reliable, and Secure Java Code
Use Java? If you do, you know that Java software can be used to drive application logic of Web services or Web applications. Perhaps you use it for desktop applications? Or, embedded devices? Whatever your use of Java code, functional errors are the enemy!
To combat this enemy, your team might already perform functional testing. Even so, you're taking significant risks if you have not yet implemented a comprehensive team-wide quality management strategy. Such a strategy alleviates reliability, security, and performance problems to ensure that your code is free of functionality errors.Read this article to learn about this simple four-step strategy that is proven to make Java code more reliable, more secure, and easier to maintain.