- http://stackoverflow.com/questions/1137118/does-this-basic-java-object-pool-work
- http://www.javaworld.com/javaworld/jw-06-1998/jw-06-object-pool.html
- http://sourcemaking.com/design_patterns/object_pool/java
- The basic interface of the object pool should like this
- public interface ObjectPool<T> {
T borrowObject();
void returnObject(T borrowed);
} - http://commons.apache.org/pool/
Apart from coding and design interview questions, this page contains updates on my learnings with Java. It helps me organize my learning. Read about my future self here : https://siliconvalleystories.blogspot.com/
Sunday, 27 January 2013
How would you design an object pool in java ?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment