使用游标迭代
// Connect to a target server using your ConnectionMultiplexer instance
IServer server = conn.GetServer("localhost", 6379);
var seq = server.Keys();
IScanningCursor scanningCursor = (IScanningCursor)seq;
// Use the cursor in some way...
// Connect to a target server using your ConnectionMultiplexer instance
IServer server = conn.GetServer("localhost", 6379);
var seq = server.Keys();
IScanningCursor scanningCursor = (IScanningCursor)seq;
// Use the cursor in some way...