This class is not thread-safe by design. It is expected that the conditions below hold within one JVM.
1. There is one and only one instance of SerializableObjectStore for a given data store. 2. There is one and only one thread is calling put and delete methods at any given time.
However, if the underlying data store is thread safe, SerializableObjectStore becomes thread-safe automatically.
It is expected that this class is used in the case of multiple readers and single writer. @param < K> Key @param < V> Value @author jwu
06/04, 2011 - Added support for Closeable
|
|