public class DefaultValueOperationsX<V> extends Object implements IKeyNamingPolicy
| Constructor and Description |
|---|
DefaultValueOperationsX(org.springframework.data.redis.core.RedisTemplate<String,V> template,
IKeyNamingPolicy keyNamingPolicy) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
append(String key,
String value) |
List<Long> |
bitField(String key,
org.springframework.data.redis.connection.BitFieldSubCommands subCommands) |
Long |
decrement(String key) |
Long |
decrement(String key,
long delta) |
V |
get(Object key) |
String |
get(String key,
long start,
long end) |
V |
getAndSet(String key,
V newValue) |
Boolean |
getBit(String key,
long offset) |
String |
getKeyName(String key)
Get naming key
|
org.springframework.data.redis.core.RedisOperations<K,V> |
getOperations() |
Long |
increment(String key) |
Double |
increment(String key,
double delta) |
Long |
increment(String key,
long delta) |
List<V> |
multiGet(Collection<String> keys) |
void |
multiSet(Map<? extends String,? extends V> m) |
Boolean |
multiSetIfAbsent(Map<? extends String,? extends V> m) |
void |
set(String key,
V value) |
void |
set(String key,
V value,
long offset) |
void |
set(String key,
V value,
long timeout,
TimeUnit unit) |
Boolean |
setBit(String key,
long offset,
boolean value) |
Boolean |
setIfAbsent(String key,
V value) |
Boolean |
setIfAbsent(String key,
V value,
long timeout,
TimeUnit unit) |
Boolean |
setIfPresent(String key,
V value) |
Boolean |
setIfPresent(String key,
V value,
long timeout,
TimeUnit unit) |
Long |
size(String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyNames, getKeyNames, mapKeyNamingpublic DefaultValueOperationsX(org.springframework.data.redis.core.RedisTemplate<String,V> template, IKeyNamingPolicy keyNamingPolicy)
public List<V> multiGet(Collection<String> keys)
public List<Long> bitField(String key, org.springframework.data.redis.connection.BitFieldSubCommands subCommands)
public String getKeyName(String key)
IKeyNamingPolicygetKeyName in interface IKeyNamingPolicypublic org.springframework.data.redis.core.RedisOperations<K,V> getOperations()
Copyright © 2020. All rights reserved.