import com.cxy.redisclient.integration.string.UpdateString;
public class NodeService {
public void addString(int id, int db, String key, String value, int ttl) {
AddString command = new AddString(id, db, key ,value);
command.execute();
expire(id, db, key, ttl);
}
public String readString(int id, int db, String key) {
IsKeyExist command1 = new IsKeyExist(id, db, key);