All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redislabs.riot.redis.InfoCommand Maven / Gradle / Ivy

The newest version!
package com.redislabs.riot.redis;

import io.lettuce.core.api.sync.BaseRedisCommands;
import io.lettuce.core.api.sync.RedisServerCommands;
import picocli.CommandLine.Command;

@Command(name = "info", description = "Display INFO command output")
public class InfoCommand extends AbstractRedisCommand {

	@Override
	@SuppressWarnings("unchecked")
	protected void execute(BaseRedisCommands commands) {
		System.out.println(((RedisServerCommands) commands).info());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy