blob: d993589d0186710df94fc6c68c4d15eea741576b [file] [log] [blame]
package com.gemstone.gemfire.internal.redis;
/**
* Interface for executors of a {@link Command}
*
* @author Vitaliy Gavrilov
*
*/
public interface Executor {
/**
* This method executes the command and sets the response. Any runtime errors
* from this execution should be handled by caller to ensure the client gets
* a response
*
* @param command The command to be executed
* @param context The client data associated with the client
*/
public void executeCommand(Command command, ExecutionHandlerContext context);
}