content: package com.alicp.jetcache.redis.springdata;
  
  import com.alicp.jetcache.external.ExternalCacheConfig;
  import org.springframework.data.redis.connection.RedisConnectionFactory;
  import org.springframework.data.redis.listener.RedisMessageListenerContainer;
  
  /**
   * Created on 2019/4/4.
   *
   * @author huangli
   */
  public class RedisSpringDataCacheConfig<K, V> extends ExternalCacheConfig<K, V> {
  
      private RedisConnectionFactory connectionFactory;
  
      /**
       * optional.
       */
      private RedisMessageListenerContainer listenerContainer;
  
      public RedisConnectionFactory getConnectionFactory() {
          return connectionFactory;
      }
  
      public void setConnectionFactory(RedisConnectionFactory connectionFactory) {
          this.connectionFactory = connectionFactory;
      }
  
      public RedisMessageListenerContainer getListenerContainer() {
          return listenerContainer;
      }
  
      public void setListenerContainer(RedisMessageListenerContainer listenerContainer) {
          this.listenerContainer = listenerContainer;
      }
  }
  