com.lorne.sds.server.service.RedisService Maven / Gradle / Ivy
package com.lorne.sds.server.service;
import java.util.List;
import java.util.Set;
/**
* create by lorne on 2017/10/13
*/
public interface RedisService {
String sds_prefix = "sds_";
String key_prefix = "skey_";
String val_prefix = "sval_";
Set all(String key);
void removeAll(String key);
void remove(String key, String uniqueKey);
void add(String key,String value);
List models();
void putKey(String modelName, String uniqueKey, String key);
String getModelByKey(String key);
void removeKey(String modelName, String uniqueKey);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy