class RedisCache extends AbstractCache<K, V> {

  @Override
  public void put(final K key, final V value) {
    try {
      client.set(serializer.serialize(key), serializer.serialize(value));
    } catch (ConnectionException e) {
      throw new RedisCacheException(e);
    } catch (IOException e) {
      throw new RedisCacheException(e);
    }
  }

  public  RedisCache(final String name, final CacheLoader<K, V> cacheLoader,
      final EvictionListener<K, V> evictionListener,
      Serializer<Object> serializer, Client client);

}