Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Add static method to get RedisStore instances by cache name #10

Open
vdzhuvinov opened this issue Nov 10, 2016 · 0 comments
Open

Add static method to get RedisStore instances by cache name #10

vdzhuvinov opened this issue Nov 10, 2016 · 0 comments

Comments

@vdzhuvinov
Copy link

This will allow us to get the Redis store key count efficiently, because currently the size method of CacheStores is not used by Infinispan; the process key iteration routine gets called instead, which is killing performance. A while ago I had a chat with William Burns in the forum, and he mentioned this may get revised in a future version of Infinispan. In the meantime the static method can help us work around this.

public static Map<String,RedisStore> getInstances()

I'll try to get a patch for that.

vdzhuvinov added a commit to vdzhuvinov/infinispan-cachestore-redis that referenced this issue Nov 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant