Is there a way, how I can remove not RUNNING jobs from my hazelcastInstance?
I have stream from jetInstance.getJobs()
and I need to return Map<String, Object>
, where key is the name of job. But it is not possible, since I already stopped and re-run some jobs - there are more instances with the same name.
I was not able to find any possible solution for my case except for removing finished ones.
I am not sure, if it is even possible. Thank you for some solution or hints.