【Spring连载】使用Spring Data访问Redis(十四)----Redis Repositories
- 一、Core concepts
- 二、Defining Repository Interfaces
- 三、Creating Repository Instances
- 四、Usage
- 五、Object Mapping Fundamentals
- 六、对象到Hash映射Object-to-Hash Mapping
- 七、Keyspaces
- 八、Secondary Indexes
- 九、Time To Live
- 十、Redis-specific Query Methods
- 十一、Query by Example
- 十二、在Redis集群上运行Redis Repositories
- 十三、Redis Repositories Anatomy
- 十四、Projections
- 十五、Custom Repository Implementations
- 十六、Publishing Events from Aggregate Roots
- 十七、Null Handling of Repository Methods
- 十八、CDI Integration
- 十九、Repository query keywords
- 二十、Repository query return types
一、Core concepts
二、Defining Repository Interfaces
三、Creating Repository Instances
四、Usage
五、Object Mapping Fundamentals
六、对象到Hash映射Object-to-Hash Mapping
七、Keyspaces
八、Secondary Indexes
九、Time To Live
十、Redis-specific Query Methods
十一、Query by Example
十二、在Redis集群上运行Redis Repositories
You can use the Redis repository support in a clustered Redis environment. See the “Redis Cluster” section for ConnectionFactory configuration details. Still, some additional configuration must be done, because the default key distribution spreads entities and secondary indexes through out the whole cluster and its slots.
The following table shows the details of data on a cluster (based on previous examples):