Progress indicator for snapshot

Hi
I am trying to develop a java class which will take snapshot and also
display progress of the same.I am good with taking snapshot, but no idea
how to show the progress. The code is returns the control only after the
snapshot is completed. So i am not sure, even if somehow able to find out
progress, how to show it. though now i don't know how to get progress
either.
I need the same for restore as well
Can someone please give me a heads up.

Thanks and regards
Hariprasad

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fe00d9e9-ab32-4871-ad4d-1b0bdda9fde6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.