Hi. As for now, there is no safe way to do it via the public API. Nevertheless, these files will be cleared after the Ignite node bounce.
Kind regards, Alex. On Mon, May 29, 2017 at 6:27 PM, Ramzinator [via Apache Ignite Users] < [email protected]> wrote: > Hi all, > > I have a Cache that I've configured to use swap space by setting it's > policy configuration as such: > policy.setSwapFilePath("ignite\\cache"); > > Yet at the end of my unit tests, when I call cache.close() or > cache.destroy(), it does not delete the created file. > > What can I do to guarantee the deletion of the file, both in tests and in > production? > > Thanks, > Rami > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/Cache- > destroy-close-does-not-delete-SwapFile-Ignite-2-0-tp13205.html > To start a new topic under Apache Ignite Users, email > [email protected] > To unsubscribe from Apache Ignite Users, click here > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=> > . > NAML > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-destroy-close-does-not-delete-SwapFile-Ignite-2-0-tp13205p13323.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
