[ 
https://issues.apache.org/jira/browse/IGNITE-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15476175#comment-15476175
 ] 

Igor Rudyak commented on IGNITE-3314:
-------------------------------------

Alexey,

I added changes and unit tests according to your comments. Everything is 
already merged with upstream and pushed to "ignite-3314" branch.

Also you can find a sample class 
"org.apache.ignite.tests.DatasourceSerializationTest.MyLoadBalancingPolicy" 
showing how it's possible to implement a serializable wrapper for one of the 
Cassandra connection options (load balancing policy in this case) which by 
default will not be serialized with DataSource.

> Implement Serializable in 
> org.apache.ignite.cache.store.cassandra.datasource.DataSource
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-3314
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3314
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache
>            Reporter: Igor Rudyak
>            Assignee: Igor Rudyak
>            Priority: Minor
>             Fix For: 1.8
>
>
> Current implementation of 
> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource doesn't 
> implement Serializable, thus for distributed Ignite clusters, 
> CassandraCacheStoreFactory could only be setup through Spring XML file, but 
> not from code. 
> New version of 
> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource should  
> implement Serializable



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to