Jennifer Hickey
2e7a04fcd0
Add deserialize of exec results to RedisTemplate
...
DATAREDIS-228
- RedisTemplate.exec() will now deserialize raw results
using RT serializers, where applicable. This behavior
is disabled if convertPipelineAndTxResults is set
to false on the ConnectionFactory
- Add new RedisTemplate.exec(RedisSerializer) method
that will deserialize all results using the provided
serializer.
2013-07-24 16:30:17 -07:00
Jennifer Hickey
48e9d34a2f
Fix NPE on deserialize of Tuple values in tx/pipeline
...
DATAREDIS-229
2013-07-24 16:05:39 -07:00
Jennifer Hickey
76fad5f2bc
Do not deserialize StringRedisConn pipeline/tx results by default
...
- Change StringRedisConn to not deserialize pipelined/
exec results by default
- Remove option to enable/disable deserialize of
results in StringRedisTemplate. In most cases, the
same StringRedisConn is not used b/w ops in a pipeline
or tx, so this is rarely useful
2013-07-24 10:47:33 -07:00
Jennifer Hickey
be199d8c97
Make Lettuce return converted tx results
...
DATAREDIS-208
2013-07-23 14:58:43 -07:00
Jennifer Hickey
aa8d10b150
Make SRP return converted tx results
...
DATAREDIS-208
2013-07-23 14:37:03 -07:00
Jennifer Hickey
08d502083c
Make Jedis return converted tx results
...
DATAREDIS-208
2013-07-23 14:35:03 -07:00
Jennifer Hickey
893b9f5007
Convert tx results in DefaultStringRedisConnection
...
DATAREDIS-208
2013-07-23 11:57:12 -07:00
Jennifer Hickey
bd839ddf0f
Check FutureResult status field instead of instanceof
2013-07-22 19:28:24 -07:00
Jennifer Hickey
02481034b1
Reduce instances of IdentityConverter in DefStringRedisConn
2013-07-22 19:05:37 -07:00
Jennifer Hickey
ae118ff9d7
Add missing zRevRangeByScore ops to StringRedisConnection
...
DATAREDIS-145
2013-07-22 13:59:02 -07:00
Jennifer Hickey
86173faa81
Throw UnsupportedOpException on watch in tx in Lettuce
...
DATAREDIS-225
2013-07-22 12:32:37 -07:00
Jennifer Hickey
5ab5ee031e
Guard against NPEs on conversion of null values
2013-07-22 12:32:02 -07:00
Jennifer Hickey
f41647b3bc
Fix Jedis ClassCastExceptions closing pipeline after tx
...
DATAREDIS-143
Use pipeline instance instead of transaction instance
to execute ops
2013-07-22 12:09:03 -07:00
Jennifer Hickey
a40a88795a
SRP closePipeline should return List of tx results
...
and strip individual op results
DATAREDIS-223
- closePipeline now returns Lists of exec results instead of flattening results
- Temp revert conversion of exec results for
consistency
2013-07-19 12:06:34 -07:00
Jennifer Hickey
a0b4613a4b
Lettuce closePipeline should return List of tx results
...
and strip individual op results
DATAREDIS-223
2013-07-18 15:43:37 -07:00
Jennifer Hickey
136ad487a8
Fix Lettuce setBit and setRange executing twice in pipeline
...
DATAREDIS-224
2013-07-18 15:37:52 -07:00
Jennifer Hickey
dd8b0561ea
Add deserialize of pipeline results to DefaultStringRedisConnection
...
DATAREDIS-200
2013-07-17 11:23:51 -07:00
Jennifer Hickey
470dd4654d
Deprecate connection Utils in favor of Converters
...
DATAREDIS-200
2013-07-16 14:05:42 -07:00
Jennifer Hickey
daca61be03
Convert SRP pipelined results to correct data type
...
DATAREDIS-200
- Convert return of closePipeline() to same types
returned from individual operations
- Change SRP execute to return Reply.data()
instead of Reply for consistency with pipeline
2013-07-16 14:05:41 -07:00
Jennifer Hickey
b2325c90d8
Convert Lettuce pipelined results to correct data type
...
DATAREDIS-200
2013-07-16 14:05:41 -07:00
Jennifer Hickey
441ac85999
Convert Jedis pipelined results to correct data type
...
DATAREDIS-200
2013-07-16 14:05:41 -07:00
Jennifer Hickey
1e9d3350ba
Add FutureResult and common type converters for pipelined ops
...
DATAREDIS-200
2013-07-16 14:05:40 -07:00
Jennifer Hickey
49b36dcea4
Change StringRedisConnection set store return types
...
DATAREDIS-211
Change sUnionStore, sDiffStore, and sInterStore from
void to Long return type
2013-07-16 14:05:40 -07:00
Jennifer Hickey
14b84ab2af
Fix StringRedisConnection not passed to callbacks in StringTemplate.execute()
...
DATAREDIS-222
2013-07-16 14:02:40 -07:00
Jennifer Hickey
ae6e6153c7
Add connection integration tests
2013-07-16 09:34:58 -07:00
Jennifer Hickey
39970609ba
Fix SRP exception on select in transaction
...
DATAREDIS-220
2013-07-15 18:05:10 -07:00
Jennifer Hickey
4f5eb9748a
Fix NPEs on Jedis closePipeline/exec after move
...
DATAREDIS-218
2013-07-15 14:34:43 -07:00
Jennifer Hickey
11e4b03dcb
Support null sortParams in Lettuce and SRP sort
...
DATAREDIS-217
2013-07-15 13:49:37 -07:00
Jennifer Hickey
95e8fbff27
Fix DefaultStringRedisConnection not passing begin/end to bitCount method
...
DATAREDIS-216
2013-07-12 09:44:17 -07:00
Jennifer Hickey
5c055286f4
Fix IllegalMonitorStateException in RedisCache
...
DATAREDIS-214
2013-07-11 12:16:00 -07:00
Jennifer Hickey
0729055381
Fix conns wrapping UnsupportedOperationException
...
in RedisSystemException
DATAREDIS-146
2013-07-03 17:11:02 -07:00
Jennifer Hickey
687f5f0d2c
Lazily instantiate Lettuce dedicated connections
2013-07-01 17:42:07 -07:00
Jennifer Hickey
a0026ebc90
Update documentation for 1.1.0.M1 release
2013-07-01 12:51:39 -07:00
Jennifer Hickey
ba8ab92b0f
Support srandmember with negative count
...
DATAREDIS-116
2013-07-01 11:33:02 -07:00
Jennifer Hickey
7b75924c40
Add authentication to Lettuce conn factory and pool
...
DATAREDIS-202
2013-06-28 16:50:14 -07:00
Jennifer Hickey
29b68e2808
Remove passing both connection info and pool to LettuceConnFactory
2013-06-28 15:41:40 -07:00
Jennifer Hickey
83a507bf1d
Add Redis 2.6 info(section) method to Connections
...
DATAREDIS-183
2013-06-24 18:15:39 -07:00
Jennifer Hickey
e9d1901298
Change mSetNX/multiSetIfAbsent return type to Boolean
...
DATAREDIS-177
2013-06-24 17:31:47 -07:00
Jennifer Hickey
7173be2c28
Add Redis 2.6 srandmember with count to SetOperations
...
DATAREDIS-116
2013-06-24 16:39:45 -07:00
Jennifer Hickey
c1337d5067
Add Redis 2.6 srandmember with count to Connections
...
DATAREDIS-116
2013-06-24 16:39:24 -07:00
Jennifer Hickey
cc9b0821a0
Add wrapper for GenericObjectPool.Config for Spring
2013-06-24 13:50:52 -07:00
Jennifer Hickey
b79f7b8df0
Allow Lettuce connection pool for dedicated conns
...
DATAREDIS-201
Inject LettucePool into LettuceConnectionFactory
to be used for a "dedicatedConnection". Dedicated
connections are used only for blocking and tx ops
when a shared connection is used. If shareNativeConnection
is set to false, the dedicated conn will be
used for all ops.
2013-06-24 10:50:18 -07:00
Jennifer Hickey
88910d9324
Add Lettuce connection pool for non-shared conns
2013-06-24 10:27:11 -07:00
Jennifer Hickey
bae8a579d5
Factor JredisPool to a common Pool interface
2013-06-24 10:27:11 -07:00
Jennifer Hickey
83b87b663e
Add scripting documentation
2013-06-21 18:52:02 -07:00
Jennifer Hickey
2c9ba9a5ed
Add Redis 2.6 scripting commands to Connections
...
DATAREDIS-180
2013-06-19 21:52:34 -07:00
Jennifer Hickey
cc851c674e
Add Redis 2.6 incrbyfloat to ValueOperations
...
DATAREDIS-181
2013-06-17 17:16:45 -07:00
Jennifer Hickey
128360d43c
Add Redis 2.6 hincrbyfloat to RedisMap and HashOperations
...
DATAREDIS-181
2013-06-17 16:26:10 -07:00
Jennifer Hickey
ced5a755e9
Add Redis 2.6 incrBy/hincrBy float ops to Connections
...
DATAREDIS-181
2013-06-17 15:06:55 -07:00
Jennifer Hickey
45627760aa
Add Redis 2.6 bitop and bitcount commands to Connections
...
DATAREDIS-179
2013-06-17 13:39:47 -07:00