@Override protected byte[] inRedis(byte[] rawKey, RedisConnection connection) { return connection.lPop(rawKey); } }, true);
@Override public byte[] lPop(byte[] key) { return convertAndReturn(delegate.lPop(key), identityConverter); }
@Override public String lPop(String key) { return convertAndReturn(delegate.lPop(serialize(key)), bytesToString); }
@Override protected byte[] inRedis(byte[] rawKey, RedisConnection connection) { return connection.lPop(rawKey); } }, true);
@Override protected byte[] inRedis(byte[] rawKey, RedisConnection connection) { return connection.lPop(rawKey); } }, true);
@Override public byte[] lPop(byte[] key) { return redisConnection.lPop(key); }
@Override public byte[] lPop(byte[] key) { return convertAndReturn(delegate.lPop(key), identityConverter); }
@Override public byte[] lPop(byte[] key) { return convertAndReturn(delegate.lPop(key), identityConverter); }
@Override public String lPop(String key) { return convertAndReturn(delegate.lPop(serialize(key)), bytesToString); }
@Override public String lPop(String key) { return convertAndReturn(delegate.lPop(serialize(key)), bytesToString); }
@Override public String doInRedis(RedisConnection connection) throws DataAccessException { RedisSerializer<String> serializer = redisTemplate.getStringSerializer(); byte[] res = connection.lPop(serializer.serialize(key)); return serializer.deserialize(res); } });
@Override public String doInRedis(RedisConnection connection) throws DataAccessException { RedisSerializer<String> serializer = redisTemplate.getStringSerializer(); byte[] res = connection.lPop(serializer.serialize(key)); return serializer.deserialize(res); } });