You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by userx <ga...@gmail.com> on 2019/12/12 16:19:58 UTC
How can I log a size of a cached consistent across node regularly ?
Hi,
I have a scenario where I am using DataStreamer.addData(map) to persist the
entries into a cache with ATOMIC and FULLY_SYNC modes. There are three
Ignite servers.
My understanding was that once the DataStreamer.close() is called and it
finishes, all the entries in the map are persisted to the Cache and
consistent across all the nodes. Is the understanding correct ?
Also is there a way I can log the size of a cache on the day it is created
at an interval of 15 minutes ? The cache name is dynamic. Basically I intend
to increase the Ignite logging.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: How can I log a size of a cached consistent across node regularly ?
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
Yes, your understanding is correct.
You can write your own custom service to print caches' sizes from its
execute() method.
Regards,
--
Ilya Kasnacheev
чт, 12 дек. 2019 г. в 19:20, userx <ga...@gmail.com>:
> Hi,
>
> I have a scenario where I am using DataStreamer.addData(map) to persist the
> entries into a cache with ATOMIC and FULLY_SYNC modes. There are three
> Ignite servers.
>
> My understanding was that once the DataStreamer.close() is called and it
> finishes, all the entries in the map are persisted to the Cache and
> consistent across all the nodes. Is the understanding correct ?
>
> Also is there a way I can log the size of a cache on the day it is created
> at an interval of 15 minutes ? The cache name is dynamic. Basically I
> intend
> to increase the Ignite logging.
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>