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

configurable length of generated id #282

Closed
wants to merge 1 commit into from

Conversation

mkubala
Copy link

@mkubala mkubala commented Sep 17, 2013

As I mentioned earlier in #259 there is a problem with generated id legth and Cache API implementation provider other than Ehcache (in my case - it's memcached).

I think adding the config parameter with fallback to a value currently used in DefaultIdGenerator will be more practical and elegant - it would be useful for every cache implementation which has any key-length limitations.

@mumoshu
Copy link

mumoshu commented Oct 28, 2013

+1

@jaliss
Copy link
Owner

jaliss commented Oct 30, 2013

@mkubala thanks! I ended up doing a slightly modified version based on your changes. I prefer to have the length configuration only in the default generator. If there is a case where more are needed later we can extract it.

@jaliss jaliss closed this Oct 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants