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

com.redislabs.riot.test.InfoTest Maven / Gradle / Ivy

package com.redislabs.riot.test;

import io.lettuce.core.api.sync.BaseRedisCommands;
import io.lettuce.core.api.sync.RedisServerCommands;
import lombok.extern.slf4j.Slf4j;
import redis.clients.jedis.Jedis;

@Slf4j
public class InfoTest implements RedisTest {

	@Override
	public void execute(Jedis jedis) {
		log.info(jedis.info());
	}

	@SuppressWarnings("unchecked")
	@Override
	public void execute(BaseRedisCommands commands) {
		log.info(((RedisServerCommands) commands).info());
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy