Hazelcast: Add support for ScheduledExecutorService

Created on 6 Apr 2012  路  63Comments  路  Source: hazelcast/hazelcast

Would be delightful to be able to use a distributed ScheduledExecutorService that could guarantee execution of something across a cluster, on each node, etc, etc.

Core Enhancement

Most helpful comment

ScheduledExecutorService is available in the latest snapshot version.

It'll be also included in the Hazelcast 3.8 Early Access which should be released very soon.

All 63 comments

+1 this would be a cool feature.

+1, it could be really nice!

+1, it's already required by my current project

+1, waiting this feature

+n, this is necessarily

+1, this would be a killer feature.

+1

+1

+1, it's required by my current project

+1, I am looking for it.

ScheduledExecutorService is going to be introduced in version 3.4.

+1 will use it right away when its there....

+1

+1 it is really a useful feature

Looking forward to a distributed ScheduledExecutorService!

@mdogan, will HZ 3.4 add the support for ScheduledExecutorService ?

+1

+1

It is too late for 3.4 but I will talk with team if we can do it for 3.5

here is a non-production scheduled-executor which I've implemented using Hazelcast SPI
https://github.com/gurbuzali/scheduled-executor/wiki

@gurbuzali , it's better to make more integration work just like some efforts with quartz for distribute schedule implementation.

Indeed, a HazelcastJobStore would be handy! I considered working on one in the past, but was intimidated by what I saw when I looked at TerracottaJobStore. :-/

@mhurne Very true, I tried the same but that interface is a mess. Also tried looking at some of the provided implementations - also a complete mess.

+1
Is this feature going to be released with Hazelcast 3.5? if yes when will 3.5 be released?

+1

+1, I need it

@gurbuzali , how does this going on ? could it be integrated in 3.5 and also with support for cron expression.

@enesakar any news/progress on this?

Will be added in 3.6.

@pveentjer is there no way for it to make to 3.5?

I doubt it because 3.5 isn't that far away and we still have a lot of stuff to do.

@pveentjer we are evaluating using hazelcast vs other alternatives but we do need this feature. can you please let me know when this will be available in which version? many thanks tom

It is on the radar for 3.6. We are already working on gathering the requirements for this particular feature.

Couldn't find in the website when 3.6 is planned for pls?

@pveentjer, any update with the issue ? hope it could be provided in hz3.5 or else we should do more integration with quartz to make the schedule distributed.

@pveentjer, any update with such issue ?

+1
just noticed its been moved to 3.7, last time I heard it was planned for 3.6 :(

+1

+1

+1

it was on the radar a year ago and now its dropped?

@logemann it has a milestone set for 3.7

+1

+1

+1

+1

+1

+1

+1

+1

Hi all,
may I ask you please why this feature is being delayed since 4 years?
Is there any technical problem in implementing it or nobody care?
Or maybe it exist a workaround to schedule execution of Runnable etc. with a delay on an Hazelcast Cluster?

anyway, +1 also for me

(please note the irony: I've discovered the issue just now, "one hour" after it has been postponed again to the next release...)

Hi @cristcost:

it's easy to implement the happy scenario. However things can become very hairy when you have members joining&leaving a cluster. We are now on the edge of the feature-freeze for 3.7 hence it's not possible to have in this release.

That being said there is VERY visible interest in this feature and I hope to have this included in Hazelcast 3.8 plans.

+1

+1

+1

+1

+1

+1

+1

+1

ScheduledExecutorService is available in the latest snapshot version.

It'll be also included in the Hazelcast 3.8 Early Access which should be released very soon.

Already noted the issue was closed yesterday,
thank you very much!

all the credits go to @tkountis ;-)

Was this page helpful?
0 / 5 - 0 ratings