1 /* 2 * Hunt - A redis client library for D programming language. 3 * 4 * Copyright (C) 2018-2019 HuntLabs 5 * 6 * Website: https://www.huntlabs.net/ 7 * 8 * Licensed under the Apache-2.0 License. 9 * 10 */ 11 12 module hunt.redis.commands.BasicRedisPipeline; 13 14 import hunt.redis.Module; 15 import hunt.redis.Response; 16 17 import hunt.collection.List; 18 import hunt.Long; 19 20 /** 21 * Pipelined responses for all of the low level, non key related commands 22 */ 23 interface BasicRedisPipeline { 24 25 Response!(string) bgrewriteaof(); 26 27 Response!(string) bgsave(); 28 29 Response!(List!(string)) configGet(string pattern); 30 31 Response!(string) configSet(string parameter, string value); 32 33 Response!(string) configResetStat(); 34 35 Response!(string) save(); 36 37 Response!(Long) lastsave(); 38 39 Response!(string) flushDB(); 40 41 Response!(string) flushAll(); 42 43 Response!(string) info(); 44 45 Response!(List!(string)) time(); 46 47 Response!(Long) dbSize(); 48 49 Response!(string) shutdown(); 50 51 Response!(string) ping(); 52 53 Response!(string) select(int index); 54 55 Response!(string) swapDB(int index1, int index2); 56 57 Response!(string) migrate(string host, int port, string key, int destinationDB, int timeout); 58 59 Response!(string) moduleLoad(string path); 60 61 Response!(List!(Module)) moduleList(); 62 63 Response!(string) moduleUnload(string name); 64 65 }