public class RedisResource extends KeyValueResource
parent, path, readonly, separator| 构造器和说明 |
|---|
RedisResource(org.springframework.data.redis.core.StringRedisTemplate redisTemplate,
String path,
boolean readonly) |
RedisResource(org.springframework.data.redis.core.StringRedisTemplate redisTemplate,
String path,
boolean readonly,
RedisResource parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
deleteByKey(String key) |
boolean |
exists() |
protected Set<String> |
keys() |
protected Function<String,Resource> |
mappedFunction() |
byte[] |
read() |
void |
readAll() |
protected boolean |
renameTo(Map<String,String> renameKeys) |
String |
toString() |
boolean |
write(String content) |
delete, dirs, files, getAbsolutePath, getDirectory, getFilePath, getResource, isDirectory, mkdir, name, parent, readonly, renameTo, resources, separator, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexport, processExportpublic RedisResource(org.springframework.data.redis.core.StringRedisTemplate redisTemplate,
String path,
boolean readonly,
RedisResource parent)
public RedisResource(org.springframework.data.redis.core.StringRedisTemplate redisTemplate,
String path,
boolean readonly)
public void readAll()
public byte[] read()
public boolean write(String content)
protected boolean renameTo(Map<String,String> renameKeys)
renameTo 在类中 KeyValueResourcepublic boolean exists()
protected boolean deleteByKey(String key)
deleteByKey 在类中 KeyValueResourceprotected Function<String,Resource> mappedFunction()
mappedFunction 在类中 KeyValueResourceprotected Set<String> keys()
keys 在类中 KeyValueResourceCopyright © 2020–2022. All rights reserved.