All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lorne.sds.server.service.RedisService Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
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