Class CacheJdbcBlobStoreFactory<K,​V>

  • All Implemented Interfaces:
    Serializable, javax.cache.configuration.Factory<CacheJdbcBlobStore<K,​V>>

    public class CacheJdbcBlobStoreFactory<K,​V>
    extends Object
    implements javax.cache.configuration.Factory<CacheJdbcBlobStore<K,​V>>
    Factory implementation for CacheJdbcBlobStore. Use this factory to pass CacheJdbcBlobStore to CacheConfiguration.

    Spring Example

         <bean id= "myDataSource" class="org.h2.jdbcx.JdbcDataSource"/>
    
         <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
              ...
              <property name="cacheConfiguration">
                   <list>
                      <bean class="org.apache.ignite.configuration.CacheConfiguration">
                          ...
                          <property name="cacheStoreFactory">
                              <bean class="org.apache.ignite.cache.store.jdbc.CacheJdbcBlobStoreFactory">
                                  <property name="user" value = "Ignite" />
                                  <property name="dataSourceBean" value = "myDataSource" />
                              </bean>
                          </property>
                      </bean>
                   </list>
              </property>
         </bean>
     


    For information about Spring framework visit www.springframework.org

    See Also:
    Serialized Form