tonivade.redis.command.IServerContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resp-server Show documentation
Show all versions of resp-server Show documentation
Netty implementation of REdis Serialization Protocol, and a simple framework to implement command based protocols
/*
* Copyright (c) 2015, Antonio Gabriel Muñoz Conejo
* Distributed under the terms of the MIT License
*/
package tonivade.redis.command;
public interface IServerContext {
int getPort();
int getClients();
ICommand getCommand(String name);
T getValue(String key);
void putValue(String key, Object value);
T removeValue(String key);
}