Archive for December, 2005

Nothing like memeorandum…

Here's the first screenshot of a little project I'm working on.
Memeorandum Clone?

Despite appearances it isn't just a Memeorandum clone - it has some nice features that I think make it kind of unique.

I think Gabe Rivera's done a great job with Memeorandum, though, so obviously I had some inspiration from his work.

Comments

JConsole has graphs

I never knew JConsole could generate graphs for attributes. Nice!

JConsole with Graph

Comments

java.util.concurrent.Executors

I think java.util.concurrent.Executors (and related functionality like Futures) is one of the best features of JDK 1.5.

One small feature I'd like, though - a newCachedThreadPool(int nThreads) factory method that combines the features of newCachedThreadPool() and newFixedThreadPool(int nThreads). It would create a thread pool that creates new threads as needed up to the number specified by nThreads reusing previously constructed threads when they are available.

This functionality is available directly in java.util.concurrent.ThreadPoolExecutor, but a factory method would be delightful. Surely I'm not the only person who would find a thread pool with a max limit on size that shrinks after use more useful than either a FixedThreadPool or an unbound CachedThreadPool?

Comments