IS Documentation says a snapshot of all pipeline fields will be saved in memory under the key provided by $name. My Question here is where in memory does this pipeline gets saved? I tried to save one file “memory.xml” using this savePipeline Service. But when I tried to search the entire IS folder, I was not able to see this file created anywhere. Not in Pipeline folder too. But I could retrieve the contents using pub.flow:restorePipeline service. Can anyone help me in understanding where in memory does this pipeline file gets saved? Thanks, Johnrose
no, as stated in the official documentation of the service:
After a successful invocation of savePipeline, a snapshot of all pipeline fields will be saved in memory under the key provided by $name. Note that since the pipeline is saved to memory, it will not be available after a server restart.
it only appears in the memory of the JVM. Therefore as the JVM (roughly equivalent to the IS) is shut down, it is just lost. It may be important to note that until then, it stays in memory, so it may not be wise to store large pipelines and/or a great number of them this way.
Actually I decompiled the flow.class file to see the implementation directly now that I think of it I don’t know if that’s legal…