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
ISPN-5033 Allow undefining configurations #3516
ISPN-5033 Allow undefining configurations #3516
Conversation
Seems we should throw an exception if a running cache is using this configuration? Also if we have a stopped cache for this name seems we should remove it? |
Although now I see that the cache configuration stop does the removal as well. In that case do we even have to make the undefining of cache configuration public? |
b30e99f
to
4dbfb74
Compare
@wburns I've added a check to see if a configuration is in use. I prefer to have it in as a public API for symmetry with defineConfiguration() |
* | ||
* @param configurationName the named configuration | ||
*/ | ||
void undefineConfiguration(String configurationName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add a note in the Javadoc here about the IllegalStateException, we could even add it as throws in the method declaration.
4dbfb74
to
439639a
Compare
I've extended the javadoc. Failures are unrelated to this change. |
Pulling... |
Integrated into master, thanks @tristantarrant ! |
https://issues.jboss.org/browse/ISPN-5033