开发者

Maintaining a persistent copy of a Java collection on disk

In my app I have a Java collection (specifically a ConcurrentHashMap<S开发者_如何学编程tring,Queue<MyObjectThatImplementsSerializable>>)

Is there any library out there that will give me a disk backed implementation that will be persisted/restored across application restarts, and will dynamically write/remove objects as I add/remove objects from the map?

I want to preserve some state that is stored in such an object as transparently as possible.


You could try using Hazelcast and providing a disk persister.


you also have disk-backed-map http://code.google.com/p/disk-backed-map/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜