ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Cron job
Date Wed, 20 Jan 2016 19:53:27 GMT
Hi Paolo,

You can definitely deploy a cron task that will periodically execute a task
on top of Ignite. However, node attributes are static and get assigned on
startup, so I don’t think you will be able to change them.

Instead, I would suggest to create a small cache using node ID as a key and
attributes as values. This way you will be able to update this cache
dynamically from your task.

Let us know if you have more questions.


On Wed, Jan 20, 2016 at 7:26 AM, Paolo Di Tommaso <paolo.ditommaso@gmail.com
> wrote:

> Hi there,
> Is there a way to deploy a cron task in each grid node and periodically
> set an attribute in the ClusterNode structure?
> Any suggestion?
> Thanks a lot
> Paolo

View raw message