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

Add list() to ConfigCache #138

Merged

Conversation

kevin-canadian
Copy link
Contributor

ConfigCache is a great way to centralise configuration for various
parts of an application. This commit adds a list() method to the
ConfigCache class, which lists the keys for all configurations
present in the cache. This allows the entire application
configuration to be inspected (e.g. for debugging) without the need
for storing cache keys elsewhere.

ConfigCache is a great way to centralise configuration for various
parts of an application. This commit adds a list() method to the
ConfigCache class, which lists the keys for all configurations
present in the cache. This allows the entire application
configuration to be inspected (e.g. for debugging) without the need
for storing cache keys elsewhere.
lviggiano added a commit that referenced this pull request Aug 18, 2015
@lviggiano lviggiano merged commit 1884975 into matteobaccan:master Aug 18, 2015
@lviggiano
Copy link
Collaborator

Merged.

If you like, you can write some documentation here: https://github.com/lviggiano/owner/blob/master/owner-site/site/docs/singleton.md

@lviggiano
Copy link
Collaborator

instead of creating a new HashSet, you can return an unmodifiableSet

@kevin-canadian
Copy link
Contributor Author

Sounds good. I'll update the docs and switch to unmodifiableSet and submit a new pull request shortly.

@kevin-canadian kevin-canadian deleted the add-list-to-config-cache branch August 18, 2015 11:42
@lviggiano
Copy link
Collaborator

Do a pull before adding new commits otherwise you may have some conflicts
Il 18/ago/2015 13:41, "kevin-canadian" notifications@github.com ha
scritto:

Sounds good. I'll update the docs and switch to unmodifiableSet and submit
a new pull request shortly.


Reply to this email directly or view it on GitHub
#138 (comment).

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

2 participants