Hi, Then just make it *volatile* like this "private *volatile* IgniteCache<String, InputFields> cache;"
Kind regards, Alex. On Thu, Jun 22, 2017 at 3:21 PM, mdolgonos [via Apache Ignite Users] < [email protected]> wrote: > Thank you, Alex, for your response. > However, this doesn't seem to work since making it final doesn't allow me > to set it's value within the createCache() method > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/Ignite- > cache-received-by-the-client-becomes-null-tp14036p14045.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/Ignite-cache-received-by-the-client-becomes-null-tp14036p14046.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
