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.AdvancedRedisCommands; 13 14 import hunt.collection.List; 15 16 import hunt.redis.params.MigrateParams; 17 import hunt.redis.params.ClientKillParams; 18 import hunt.redis.util.Slowlog; 19 20 import hunt.Long; 21 22 interface AdvancedRedisCommands { 23 List!(string) configGet(string pattern); 24 25 string configSet(string parameter, string value); 26 27 string slowlogReset(); 28 29 Long slowlogLen(); 30 31 List!(Slowlog) slowlogGet(); 32 33 List!(Slowlog) slowlogGet(long entries); 34 35 Long objectRefcount(string key); 36 37 string objectEncoding(string key); 38 39 Long objectIdletime(string key); 40 41 string migrate(string host, int port, string key, int destinationDB, int timeout); 42 43 string migrate(string host, int port, int destinationDB, int timeout, 44 MigrateParams params, string[] keys...); 45 46 string clientKill(string ipPort); 47 48 string clientKill(string ip, int port); 49 50 Long clientKill(ClientKillParams params); 51 52 string clientGetname(); 53 54 string clientList(); 55 56 string clientSetname(string name); 57 58 string memoryDoctor(); 59 }