Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise RedisCache and documentation #2051

Closed
wants to merge 6 commits into from
Closed

Revise RedisCache and documentation #2051

wants to merge 6 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Apr 21, 2021

mp911de added 5 commits April 21, 2021 11:17
We now accept a byte array as pattern for scan operations in addition to String patterns.

Also, use binary Jedis scan method to avoid bytes to String conversion.

Closes #2006
We now support a configurable BatchStrategy for RedisCache. The implementations consist of KEYS (default) and SCAN. Since SCAN is not supported with Jedis Cluster and SCAN requires a batch size, we default to KEYS.

Closes #1721.
...and use long return type instead of int for cleanCache.
* @author Christoph Strobl
* @since 2.6
*/
public abstract class BatchStrategies {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a private constructor.

@mp911de
Copy link
Member Author

mp911de commented May 18, 2021

Looks good, let's continue with a merge after adding the private constructor.

christophstrobl pushed a commit that referenced this pull request May 20, 2021
We now accept a byte array as pattern for scan operations in addition to String patterns.

Also, use binary Jedis scan method to avoid bytes to String conversion.

Closes: #2006
Original Pull Request: #2051
christophstrobl pushed a commit that referenced this pull request May 20, 2021
We now support a configurable BatchStrategy for RedisCache. The implementations consist of KEYS (default) and SCAN. Since SCAN is not supported with Jedis Cluster and SCAN requires a batch size, we default to KEYS.

Closes: #1721
Original Pull Request: #2051
christophstrobl pushed a commit that referenced this pull request May 20, 2021
christophstrobl pushed a commit that referenced this pull request May 20, 2021
christophstrobl added a commit that referenced this pull request May 20, 2021
...and use long return type instead of int for cleanCache.
Original Pull Request: #2051
@christophstrobl christophstrobl deleted the issue/1721 branch May 20, 2021 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
3 participants