Ok. thank you.

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

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

e-mail: nku...@iitdgroup.ru<mailto:nku...@iitdgroup.ru>
тел.: 84995021375 доб. 320
моб. тел.: 79260948887
115114, Москва, Дербеневская ул., 20-27
________________________________
От: Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Отправлено: 26 ноября 2019 г. 14:04
Кому: user@ignite.apache.org <user@ignite.apache.org>
Тема: Re: Load cache from 3rd party persistence

Hello!

Unfortunately it does not seem to me that this implementation is robust enough. 
If you compare it with
org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore#loadCache you will 
see that it lacks pooling, support for args, etc.

However, CacheJdbcBlobStore is not an internal class. You can surely 
extend/subclass it in your code, and then instantiate the extended version 
where you have your own loadCache.

This is what I recommend, instead of waiting for a "generic" loadCache in 
Ignite code.

Regards,
--
Ilya Kasnacheev


вс, 24 нояб. 2019 г. в 11:09, Кузин Никита (Nikita Kuzin) 
<nku...@iitdgroup.ru<mailto:nku...@iitdgroup.ru>>:
also I found the issue: https://issues.apache.org/jira/browse/IGNITE-12078
with attached PR: https://github.com/apache/ignite/pull/6783

so it seems to be done (merged) very easy:)

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

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

e-mail: nku...@iitdgroup.ru<mailto:nku...@iitdgroup.ru>
тел.: 84995021375 доб. 320
моб. тел.: 79260948887
115114, Москва, Дербеневская ул., 20-27
________________________________
От: Кузин Никита (Nikita Kuzin)
Отправлено: 23 ноября 2019 г. 21:22
Кому: user@ignite.apache.org<mailto:user@ignite.apache.org> 
<user@ignite.apache.org<mailto:user@ignite.apache.org>>
Тема: Load cache from 3rd party persistence

Hello!

We want to use CacheJdbcBlobStore and everything seems fine, but it have empty 
implementation of loadCache method since it extends CacheStoreAdapter with 
empty implementation of loadCache.
How we can deal with it? Why CacheJdbcBlobStore doesn't implement this method?

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

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

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

Reply via email to