Hi!

I would recommend looking into Persistence part of Infinispan's documentation [1] especially write-behind section [2]. Maybe this solution would work even better than flushing cache data into store at fixed time rate.

If not, you may write your own custom cache store and implement your logic there. In that case I recommend looking at Custom Cache Store Archetype [3], which might be used for generating implementation draft.

Thanks
Sebastian

[1] http://infinispan.org/docs/7.2.x/user_guide/user_guide.html#_persistence
[2] http://infinispan.org/docs/7.2.x/user_guide/user_guide.html#_write_behind_asynchronous
[3] https://github.com/infinispan/infinispan-cachestore-archetype

On 06/08/2015 05:30 AM, 杜天微 wrote:
I put all my data in infinispan , within some servers.
Some time , I hope I could take a snapshot of data in infinispan , 
so that I could roll back to any point of time I made the snapshot.

Could any one tell me how to make it come true ?

Thanks for reading my poor english .



_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev