基于Redis服務器的分布式Java數據結構實現:Redisson
Redisson 是使用熟悉的Java數據結構來發揮Redis的威力,基于lettuce Redis客戶端和Netty 4 ,兼容 Redis 2.6+ and JDK 1.6+,使用Apache License 2.0授權協議,閱讀 wiki 來獲取更多使用信息
特性
- Sentinel servers mode:
- automatic master and slave servers discovery
- automatic new master server discovery
- automatic new slave servers discovery
- automatic slave servers offline/online discovery
- read data using slave servers, write data using master server
- Master with Slave servers mode: read data using slave servers, write data using master server
- Single server mode: read and write data using single server
- Distributed implementation of
java.util.List
- Distributed implementation of
java.util.Set
- Distributed implementation of
java.util.SortedSet
- Distributed implementation of
java.util.Queue
- Distributed implementation of
java.util.Deque
- Distributed implementation of
java.util.Map
- Distributed implementation of
java.util.concurrent.ConcurrentMap
- Distributed implementation of reentrant
java.util.concurrent.locks.Lock
with TTL support
- Distributed alternative to the
java.util.concurrent.atomic.AtomicLong
- Distributed alternative to the
java.util.concurrent.CountDownLatch
- Distributed publish/subscribe messaging via
org.redisson.core.RTopic
- Distributed HyperLogLog via
org.redisson.core.RHyperLogLog
- Thread-safe implementation
- Supports OSGi
- With over 110 unit tests
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!