com.wandoulabs.nedis.protocol.ServerCommands Maven / Gradle / Ivy
/**
* Copyright (c) 2015 Wandoujia Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wandoulabs.nedis.protocol;
import io.netty.util.concurrent.Future;
import java.util.List;
/**
* {@code MONITOR}, {@code SHUTDOWN} and {@code SLOWLOG} are not supported yet.
*
* @author Apache9
* @see http://redis.io/commands#server
*/
public interface ServerCommands {
Future bgrewriteaof();
Future bgsave();
Future clientGetname();
Future clientKill(byte[] addr);
Future clientList();
Future clientSetname(byte[] name);
Future> configGet(byte[] pattern);
Future configResetstat();
Future configRewrite();
Future configSet(byte[] name, byte[] value);
Future dbsize();
Future flushall();
Future flushdb();
Future info();
Future info(byte[] section);
Future lastsave();
Future> role();
Future save(boolean save);
Future slaveof(String host, int port);
Future sync();
Future> time();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy