Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Browsing all 2203 articles
Browse latest View live
↧

Redisson FastRemove on multiple keys not working

I am trying to delete keys from redisson local cache map and it doesn't seem to work.I have a map named : reportersCache of type RedissonLocalCachedMap.The keys of this map are of type long.For...

View Article


Jedis : Could not get a resource from the pool

BackgroundOur application uses Jedis-2.2.1 and connects to Redis-2.6, here's how I get jedis resource : protected static JedisWrapper getRedisUserWrite(String UDID) { if (redisUserWritePools.get(0) ==...

View Article


Spring Boot Application is not starting with Invalid Redis Sentinel Property...

I am trying to start my application with Redis Sentinel in my local System.When I start the application its being stopped with below error. I have started redis in my windows machine with master on...

View Article

Image may be NSFW.
Clik here to view.

How to solve java SocketTimeoutException during the Redis connectivity?

I have created a Redis cluster using the default create-cluster script which ships with Redis .I checked whether the clusters are running correctly with the aid of redis-cli too. But the problem is...

View Article

How to update a spring session object?

I'm new to spring session and redis. I would like to update a user session saved on redis. My code is following:@RestControllerpublic class SessionController { @Autowired...

View Article


Image may be NSFW.
Clik here to view.

Vertx - wait till data available in redis

I am new to Vertx and was exploring request-reply using event bus.I want to implement below flowUser requests for a datacontroller sends a message on event bus to a redis-processor...

View Article

using redisson local caching with RLO

I am using redisson as a redis client solution.looking for a solution of local caching implementation for complex java classes.Is it possible to use RLO in the following way:RLocalCachedMap<String,...

View Article

Embedded Redis for Spring Boot

I run my Integration Test cases with Spring Boot with the help of my local Redis server on my machine.But I want an embedded Redis server which is not dependent on any server and can run on any...

View Article


Error creating bean with name 'redisKeyValueAdapter': Bean instantiation via...

We have used Redis Caching in a project.And we have implemented Mockito and we are mocking repository layer but redisTemplate is being used to get the data from cache at service layer and we are trying...

View Article


Spring data redis - How to use hashOperation's scan method to get keys or...

I have never worked on Redis and Spring boot. I want to use Redis as a cache.I have been using hashOperations for get/set operations. I have configured the RedisTemplate to stop weird hashes from...

View Article

Unable to acquire the Redis Lock and the process stuck during the upgrade of...

I am testing how my JAVA Application behaves (which connects to Redis for locking mechanism) when I reboot Redis servers from the Redis cluster one at a time. I am using Redisson library to connect to...

View Article

Hibernate - Redis: Second Level Cache is not working

I have an issue related to hibernate level 2 cache. It works with getById method, but not other method:This is my code:jpa:database-platform: org.hibernate.dialect.MySQL5InnoDBDialectdatabase:...

View Article

can we store 40-50 mb individual file in thread local cache?

I am trying to cache file in memory and local thread using java i have big file (40-50MB). LRU mechanism uses for local thread cache eviction policy. can i store this file in local thread cache or is...

View Article


How to use Redis as L2 cache on Hibernate?

I have a spring boot application and need to setup Redis as l2 cache on hibernate.My prop file looks like:spring.jpa.properties.hibernate.cache.region.factory_class =...

View Article

Redis storing list inside hash

I have to store some machine details in redis. As there are many different machines i am planning to use the below structureserver1 => {name => s1, cpu=>80}server2 => {name => s2,...

View Article


Redisson for JCache Session persistence on WebSphere-Liberty: how to pass...

Hello Open Liberty experts,As an R&D effort, I am trying to enable Liberty session persistence backed byRedis via JCache/Redisson. I observe the CLASSPATH seems to becorrectly configured via...

View Article

Multiple key pointing to single value in Redis (Cache) with java

I want to store multiple keys with single value using jedis (Redis cache) with java.I have three keys like user_1, driver_10, admin_5 and value = this is user, and I want to get value by using any one...

View Article


Save Array or List of values to Redis cache

I'm attemptign to use Redis cloud and push an Array of String values using below code:import com.lambdaworks.redis.RedisClient;import com.lambdaworks.redis.RedisURI;import...

View Article

Spring Data Redis Expire Key

I have a One Spring Hibernate Application. In my application, Recently i am implemented Spring data Redis.spring-servlet.xml<!-- redis connection factory --><bean id="jedisConnFactory"...

View Article

Spring Data Redis JedisConnectionException: Unexpected end of stream

Redis 3.0.5Spring Data Redis 1.3.6jedis 2.6.3- Our is web application which receives data from redis over pub/sub.- Also performs read/write of data on redis as key/value pairs.- read/write happens on...

View Article
Browsing all 2203 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>