类 RedisBucketTemplate<V>

java.lang.Object
org.springframework.data.redis.core.RedisAccessor
org.springframework.data.redis.core.RedisTemplate<String,V>
cn.aradin.spring.redis.starter.core.RedisBucketTemplate<V>
所有已实现的接口:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.data.redis.core.RedisOperations<String,V>

public class RedisBucketTemplate<V> extends org.springframework.data.redis.core.RedisTemplate<String,V>
  • 字段概要

    从类继承的字段 org.springframework.data.redis.core.RedisAccessor

    logger
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
     
     
    expire(String key, long timeout, TimeUnit unit)
     
    expireAt(String key, Date date)
     
    opsForClusterSet(int bucket)
     
    <HK, HV> BucketHashOperations<HK,HV>
    opsForHash(int bucket)
     
    opsForSet(int bucket)
     

    从类继承的方法 org.springframework.data.redis.core.RedisTemplate

    afterPropertiesSet, boundGeoOps, boundHashOps, boundListOps, boundSetOps, boundStreamOps, boundValueOps, boundZSetOps, convertAndSend, copy, countExistingKeys, createRedisConnectionProxy, discard, dump, exec, exec, execRaw, execute, execute, execute, execute, execute, execute, executePipelined, executePipelined, executePipelined, executePipelined, executeWithStickyConnection, getClientList, getDefaultSerializer, getExpire, getExpire, getHashKeySerializer, getHashValueSerializer, getKeySerializer, getStringSerializer, getValueSerializer, hasKey, isEnableDefaultSerializer, isExposeConnection, keys, killClient, move, multi, opsForCluster, opsForGeo, opsForHash, opsForHyperLogLog, opsForList, opsForSet, opsForStream, opsForStream, opsForValue, opsForZSet, persist, postProcessResult, preProcessConnection, randomKey, rename, renameIfAbsent, replicaOf, replicaOfNoOne, restore, scan, setBeanClassLoader, setDefaultSerializer, setEnableDefaultSerializer, setEnableTransactionSupport, setExposeConnection, setHashKeySerializer, setHashValueSerializer, setKeySerializer, setScriptExecutor, setStringSerializer, setValueSerializer, sort, sort, sort, sort, sort, type, unlink, unlink, unwatch, watch, watch

    从类继承的方法 org.springframework.data.redis.core.RedisAccessor

    getConnectionFactory, getRequiredConnectionFactory, setConnectionFactory

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.springframework.data.redis.core.RedisOperations

    expire, expireAt, restore
  • 构造器详细资料

    • RedisBucketTemplate

      public RedisBucketTemplate()
  • 方法详细资料

    • opsForHash

      public <HK, HV> BucketHashOperations<HK,HV> opsForHash(int bucket)
    • opsForSet

      public BucketSetOperations<String,V> opsForSet(int bucket)
    • opsForClusterSet

      public ClusterBucketSetOperations<String,V> opsForClusterSet(int bucket)
    • expire

      public Boolean expire(String key, long timeout, TimeUnit unit)
      指定者:
      expire 在接口中 org.springframework.data.redis.core.RedisOperations<String,V>
      覆盖:
      expire 在类中 org.springframework.data.redis.core.RedisTemplate<String,V>
    • expireAt

      public Boolean expireAt(String key, Date date)
      指定者:
      expireAt 在接口中 org.springframework.data.redis.core.RedisOperations<String,V>
      覆盖:
      expireAt 在类中 org.springframework.data.redis.core.RedisTemplate<String,V>
    • delete

      public Boolean delete(String key)
      指定者:
      delete 在接口中 org.springframework.data.redis.core.RedisOperations<String,V>
      覆盖:
      delete 在类中 org.springframework.data.redis.core.RedisTemplate<String,V>
    • delete

      public Long delete(Collection<String> keys)
      指定者:
      delete 在接口中 org.springframework.data.redis.core.RedisOperations<String,V>
      覆盖:
      delete 在类中 org.springframework.data.redis.core.RedisTemplate<String,V>