Class SpringRedisIdSegmentDistributor

java.lang.Object
me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
All Implemented Interfaces:
Grouped, IdSegmentDistributor

public class SpringRedisIdSegmentDistributor extends Object implements IdSegmentDistributor
Spring Redis IdSegmentDistributor.
  • Constructor Details

    • SpringRedisIdSegmentDistributor

      public SpringRedisIdSegmentDistributor(String namespace, String name, org.springframework.data.redis.core.StringRedisTemplate redisTemplate)
    • SpringRedisIdSegmentDistributor

      public SpringRedisIdSegmentDistributor(String namespace, String name, long offset, long step, org.springframework.data.redis.core.StringRedisTemplate redisTemplate)
  • Method Details