You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "Кузин Никита (Nikita Kuzin)" <nk...@iitdgroup.ru> on 2019/09/08 18:47:02 UTC

NearCaches

Hello!

I created cache on server node (

ignite.getOrCreateCache(cacheConfiguration)

) and near cache on client node
(

ignite.createNearCache(nearConf)

)
, their names are the same.
How to check that near cache is used? (in MBeans on client node i don't see any special "near" cache)

_________________________________
С уважением, Никита Кузин
Ведущий программист-разработчик

 Интернейшнл АйТи Дистрибьюшн

e-mail: nkuzin@iitdgroup.ru<ma...@iitdgroup.ru>
тел.: 84995021375 доб. 320
моб. тел.: 79260948887
115114, Москва, Дербеневская ул., 20-27

Re: NearCaches

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Near cache only holds a subset of data from cache, so it's just a single
cache any way.

You can use CachePeekMode.NEAR to check if entries are cached near.

Regards,
-- 
Ilya Kasnacheev


вс, 8 сент. 2019 г. в 21:47, Кузин Никита (Nikita Kuzin) <
nkuzin@iitdgroup.ru>:

> Hello!
>
> I created cache on server node (
>
> ignite.getOrCreateCache(cacheConfiguration)
>
> ) and near cache on client node
> (
>
> ignite.createNearCache(nearConf)
>
> )
> , their names are the same.
> How to check that near cache is used? (in MBeans on client node i don't
> see any special "near" cache)
>
> _________________________________
> С уважением, Никита Кузин
> Ведущий программист-разработчик
>
> * Интернейшнл АйТи Дистрибьюшн*
>
> e-mail: nkuzin@iitdgroup.ru
> тел.: 84995021375 доб. 320
> моб. тел.: 79260948887
> 115114, Москва, Дербеневская ул., 20-27
>