Skip to content
Advertisement

Apache Ignite: What is best practice to fire/emit user defined events in Java?

I want to emit a user defined Ignite event but haven’t found any examples or implementations other than the Ignite sources, which uses non-API methods.

Can someone explain how to do this?

TIA

Advertisement

Answer

After re-reading the docs i found a useful hint.

The brief description of recordLocal(Event evt): Brief description

After browsing the details i recognised the hint (marked in red) Detailed description

So for local events “record” means “store and publish”. It’s somehow misleading … but hey, it works 🙂

Advertisement