Search in sources :

Example 6 with RedisClient

use of com.lambdaworks.redis.RedisClient in project jetcache by alibaba.

the class RedisLutteceCacheTest method testSimple.

@Test
public void testSimple() throws Exception {
    RedisClient client = RedisClient.create("redis://127.0.0.1");
    test(client);
}
Also used : AbstractRedisClient(com.lambdaworks.redis.AbstractRedisClient) RedisClient(com.lambdaworks.redis.RedisClient) RefreshCacheTest(com.alicp.jetcache.RefreshCacheTest) Test(org.junit.Test) LoadingCacheTest(com.alicp.jetcache.LoadingCacheTest) AbstractExternalCacheTest(com.alicp.jetcache.test.external.AbstractExternalCacheTest)

Aggregations

RedisClient (com.lambdaworks.redis.RedisClient)6 Test (org.junit.Test)5 LoadingCacheTest (com.alicp.jetcache.LoadingCacheTest)3 RefreshCacheTest (com.alicp.jetcache.RefreshCacheTest)3 AbstractExternalCacheTest (com.alicp.jetcache.test.external.AbstractExternalCacheTest)3 AbstractRedisClient (com.lambdaworks.redis.AbstractRedisClient)3 Cache (com.alicp.jetcache.Cache)1 RedisLutteceCacheTest (com.alicp.jetcache.redis.luttece.RedisLutteceCacheTest)1 SpringTest (com.alicp.jetcache.test.spring.SpringTest)1 RedisURI (com.lambdaworks.redis.RedisURI)1 StatefulRedisConnection (com.lambdaworks.redis.api.StatefulRedisConnection)1 RedisAsyncCommands (com.lambdaworks.redis.api.async.RedisAsyncCommands)1 RedisReactiveCommands (com.lambdaworks.redis.api.rx.RedisReactiveCommands)1 RedisCommands (com.lambdaworks.redis.api.sync.RedisCommands)1 RedisClusterClient (com.lambdaworks.redis.cluster.RedisClusterClient)1 RedisClusterAsyncCommands (com.lambdaworks.redis.cluster.api.async.RedisClusterAsyncCommands)1 RedisClusterReactiveCommands (com.lambdaworks.redis.cluster.api.rx.RedisClusterReactiveCommands)1 RedisClusterCommands (com.lambdaworks.redis.cluster.api.sync.RedisClusterCommands)1 Random (java.util.Random)1