NearCaches

classic Classic list List threaded Threaded
2 messages Options
Nikita Kuzin Nikita Kuzin
Reply | Threaded
Open this post in threaded view
|

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)

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

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

тел.: 84995021375 доб. 320
моб. тел.: 79260948887
115114, Москва, Дербеневская ул., 20-27
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: NearCaches

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) <[hidden email]>:
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)

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

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

тел.: 84995021375 доб. 320
моб. тел.: 79260948887
115114, Москва, Дербеневская ул., 20-27