Commit Graph

1393 Commits (e7a3098f7dabc538c1c4884df6f254134233efa9)

Author SHA1 Message Date
Dan Checkoway 79c4141794 Add SRANDMEMBER support for getting a random set member (#1) 9 years ago
Nikita 2b0b722dbf Merge branch 'master' into new_pubsub 9 years ago
Nikita b71e3dde05 execute all lock, semaphore and countdownlatch commands using master node. #545 9 years ago
Nikita 5f1631810d commandTimeout param added to RedisClient object 9 years ago
Nikita f02663bf13 Compilation fixed 9 years ago
Nikita c150a91c29 tests added 9 years ago
Nikita 8fd41252b9 PubSub handling has been reimplemented. #543 9 years ago
jackygurui 068392d6d3 tests added for both TransformationMode.
fixed a bug where in some case, superclass class were preferred than
actual class.
9 years ago
jackygurui cfe4379032 Merge branch 'mrniko/master' into live-object 9 years ago
jackygurui 045f952c1a Add support to convert field value to RObject when possible
1. Added annotation type TransformationMode to REntity.
2. Fixed RedissonObjectFactory not supporting RBitSet.
3. Additional create method to support programmatical creation of
RObject from name and codec.
4. Comments for CodecProvider with a few extra API method.
5. Added RObjectField annotation.
6. modified DefaultNamingScheme to allow provide name to RObjects
9 years ago
jackygurui 4e1e8e501f fix generic types declaration. For example in DefaultResolverProvider.getResolver method and others. 9 years ago
jackygurui d1ff17b3d7 two things
move RLiveObjectService and RLiveObject to org.redisson.api package
fix RLiveObjectService.merge comment
9 years ago
jackygurui 1072a0e9f4 rename RedissonAttachedLiveObjectServiceTest to RedissonLiveObjectServiceTest 9 years ago
andrejserafim 141ca2c585 a basic typed map value codec.
Closed #532. See RedissonCodecTest for usage examples. I've had to change JsonJacksonCodec to use decoder, encoder members explicitly otherwise overriding just the map value ones would override all of them.

Also rearranged the methods in RedissonCodecTest, so they make more sense - test() method last.
9 years ago
Nikita 7f0cc3efa0 PubSubConnectionEntry.addListener sync fixed 9 years ago
Nikita a0b652ccb6 sync added for proper listener remove in handleBlockingOperations method 9 years ago
Nikita 7ea51d62f3 license updated 9 years ago
Nikita 5ff052cc12 size method added to ClusterSlotRange 9 years ago
Nikita f36b92c363 ClusterNodesDecoder slots parsing fixed 9 years ago
Nikita 36180dc20c Cluster commands added 9 years ago
Nikita 9f1d1f4785 Connections aren't closing during RedisClient shutdown 9 years ago
Nikita eeb9d23898 RedissonRedLock.unlock fixed #542 9 years ago
Nikita 0dc67a49c4 License updated 9 years ago
Nikita 9468fb0dc0 refactoring 9 years ago
Nikita e5ad28a7e0 RedisClient constructor with address param added 9 years ago
Nikita 222563b376 refactoring 9 years ago
Nikita c7d2afbaf4 RedissonRedLock unlock fixed. #533 9 years ago
Nikita db4fba6533 RedissonRedLock implemented. #533 9 years ago
Nikita fe3f3dfb0f RedissonMultiLock lock optimization 9 years ago
Nikita Koksharov dc99ed2465 Merge pull request #537 from jackygurui/patch-2
To fix memory leak #535
9 years ago
Nikita 3ab32a2dc5 Merge branch 'master' of github.com:mrniko/redisson 9 years ago
Nikita 68be0a82e9 Fixed - RMap doesn't delete redisson__idle__set__ #540 9 years ago
jackygurui 13fb263142 using == to compare two Integer values 9 years ago
jackygurui 690bfec8bf To fix memory leak #535
Based on doc for method public abstract ByteBuf readBytes(int length) in io.netty.buffer.ByteBuf, the method returns a newly created buffer which contains the transferred bytes, which means we have to manually release this buffer.
9 years ago
Rui Gu e33d1ad193 Merge branch 'mrniko/master' into live-object 9 years ago
Rui Gu 09ade2287c Removed DistributedAtomicLongIdGenerator
Renamed the ClassAwareDistributedAtomicLongIdGenerator to
DistributedAtomicLongIdGenerator

Added id field name to the DistributedAtomicLongIdGenerator naming
scheme.

Updated tests to reflect the above changes.
9 years ago
Rui Gu 73b1143103 Refactoring
Moved NamingScheme and related classes out of REntity into resolver
package

Moved codec provider, resolve provider and their default
implementations into provider package
9 years ago
Nikita bf18cddf5a RKeys.getKeysByPattern with count added 9 years ago
jackygurui 5e9ee1c147 added RId generator support 9 years ago
Nikita 63f0ae708b Type support added. #529 9 years ago
jackygurui b1aa6ceeca Merge branch 'mrniko/master' into live-object 9 years ago
jackygurui 4b4800cd49 renamed two API method
isPhantom replaced by isExists
remove replaced by delete
9 years ago
Nikita a821f0e2d3 unnecessary lock removed. #530 9 years ago
jackygurui 41fb115a28 RLiveObjectService API update
Added isPhantom method
Added isClassRegistered method
completed comments
fixed an issue where delete method is not proxied.
added missing license header
100% test coverage for the API
9 years ago
jackygurui 209f72b50f Fixed RedissonObjectFactory not using getOrCreate
Also fixed tests to use getOrCreate
9 years ago
jackygurui 8ab5972f05 API enhancement
Added registerClass and unregisterClass method
Added getOrCreate method
modified the code so that if an already proxied object passed to
attach, merge and persist, it will throw an exception.
9 years ago
jackygurui 807940a608 Merge branch 'mrniko/master' into live-object 9 years ago
jackygurui f36bade5c1 Completed LiveObject API with tests 9 years ago
Nikita bb9a016d5b 1. Fixed - RTopic.addListener sometimes worked asynchronous
2. Fixed - ClastCastException occurred if multi-type PubSub channels were used with single connection
3. Fixed - PubSub status message decoding
4. Fixed - PubSub subscription may stuck in some cases #530
9 years ago
Nikita eeec753070 config.subscriptionConnectionPoolSize default value raised to 50 9 years ago
jackygurui 618d2cbd65 Merge branch 'mrniko/master' into live-object 9 years ago
Nikita efa762d26b RedissonSetMultimapTest.testKeySize fixed 9 years ago
jackygurui d9db8a4c0f WIP 9 years ago
Nikita 69ac43ca0e required sync added 9 years ago
Nikita 6d524b0854 RedissonMultimap.keySet.size fixed 9 years ago
Nikita 422883faef Merge branch 'master' of github.com:mrniko/redisson 9 years ago
Nikita e6209a195f RedissonCache refactored 9 years ago
Nikita Koksharov 7ea33941b2 Merge pull request #528 from mdheeraj24/master
Adding keySize functionality for MultiMaps
9 years ago
jackygurui 708d049145 Fixed DefaultNamingScheme not serialising RId value properly
RId values are now serialised into hex string in DefaultNamingScheme
It now throws exception when trying to set RId value as an array.
9 years ago
dheeraj 15a69f0fc4 Adding keySize functionality for MultiMaps - Improvements 9 years ago
dheeraj 17b724cbb7 Adding keySize functionality for MultiMaps 9 years ago
jackygurui 5fd2ba5876 fixed a wrong reference for codec provider in Redisson 9 years ago
jackygurui f7ecddc1f0 Renamed RAttachedLiveObjectService to RLiveObjectService 9 years ago
jackygurui 4b3bca2b7a Merge branch 'mrniko/master' into live-object 9 years ago
Nikita 3e9fef3222 Compilation fixed 9 years ago
Nikita 9347b0a816 Spring 4.3.0 integration fixed 9 years ago
jackygurui d777329743 License header added 9 years ago
jackygurui aa754a9799 Merge branch 'mrniko/master' into live-object
# Conflicts:
#	src/main/java/org/redisson/Redisson.java
9 years ago
jackygurui 3498c9fa1e Disabling some features
Disabled the feature that exposes the internal RMap of live object
Disabled the support of RExpirable for live object
Disabled the support of RObject for live object
9 years ago
jackygurui 2b58c13322 Comments filled in 9 years ago
jackygurui 304d64dbc5 Internal map obtained through bytebuddy FieldValue annotation 9 years ago
jackygurui 0c5ae23aea Removed class level cache. 9 years ago
Nikita c507014c26 Fixed cluster state managing with redis masters only. #491 9 years ago
Nikita e6ccd7f3eb RedissonCache.getLockName minor optimization 9 years ago
Nikita 69f90ff8f3 Add Spring 4.3.0 support to RedissonSpringCacheManager 9 years ago
Nikita 3d88888f8d BlockingQueue test added 9 years ago
jackygurui b6d124f6ca Prefers no arg constructor 9 years ago
jackygurui 82943e18c5 TODO update: Add TTL renewal functionality 9 years ago
jackygurui dd7b93fef4 TTL Implementation completed 9 years ago
Nikita 4fcd54ec8c RSortedSet performance boost up to 4 times! 9 years ago
Nikita fb8cae7705 Compilation fixed 9 years ago
Nikita 6cdee25f43 RList.fastRemove and fastRemoveAsync methods were added 9 years ago
Nikita f5542bd6b9 RList.remove optimization 9 years ago
Nikita 42b3c1eaaf Added ability to define Codec for RemoteService. #523 9 years ago
Nikita d4d954effb MultimapCache added to RBatch object. #525 9 years ago
Nikita f9c1dda0e1 RGeo added to RBatch object. #522 9 years ago
Nikita 0227a0695d Fixed dead lock during RLock, RSemaphore, RReadWriteLock, RCountDownLatch usage under heavy load. #491, #486, #455 9 years ago
Nikita a4f0473514 Iterator infinite scan test added. #515 9 years ago
Nikita eeba238f42 Map iterator fixed. #515 9 years ago
jackygurui b24a3e9223 WIP TTL 9 years ago
jackygurui 9cbbe48ab5 TTL WIP
WIP to support live object ttl
9 years ago
Rui Gu a84b43548c bug fix & new test
fixed a class test for checking if the expected type is assignable from
return type
9 years ago
jackygurui 04ed064346 RedissonAttachedLiveObjectService enhancement & author update
RedissonAttachedLiveObjectService now supports objects with different
codecs.

updated author tag on files created by me to match my github profile
9 years ago
jackygurui 6f028eb24b Found the root cause of the redisson shutdown exception problem
The classCache and proxyCache is been set to static (class level) which
means previous test have registered the class is still been cached even
after the tests were finished. New tests fetched the old proxied class
from the cache with reference to a redisson instance that has been
created in the previous tests and that has already been shutdown when
the tests were finished.
9 years ago
jackygurui 248f961920 fixed an issue
fixed an issue where in some cases it kept internal redisson reference
pointed to an old instance which has already been shutdown.
9 years ago
jackygurui a8945c6ba0 WIP
1. Simplified the API
2. Added class validation
3. Nested RObject and LiveObject is now supported
9 years ago
Fransiskus Xaverius a3c495f980 improve auth reconnect 9 years ago
jackygurui 7db9f30577 Initial commit for LiveObject
Proof of concept, work in progress.
9 years ago
Nikita 645b1240dc Infinity loop with iterator fixed. #515 9 years ago
Nikita f8dfdb7154 Fixed NPE in RSortedSet 9 years ago