add a destroy method
See original GitHub issueit would be nice if we could do explicit cleanup
bloom.destroy() // remove all patterns and clean up any internal refs
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Spring - init() and destroy() Methods with Example
destroy -method is bean attribute using which we can assign a custom bean method that will be called just before the bean is...
Read more >How do I create default init-method and destroy ... - Kode Java
This way you don't have to define individual init-method and destroy-method for each of your beans.
Read more >Spring core. Default @Bean destroy method - Stack Overflow
following spring documentation to release its own resources I should specify destroyMethod . I've not found any default destroy methods ...
Read more >Spring init-method and destroy-method example - Mkyong.com
In Spring, you can use init-method and destroy-method as attribute in bean configuration file for bean to perform certain actions upon ...
Read more >Spring init-method and destroy-method example - Java2Blog
In this post, we will see about Spring init-method and destroy-method. When bean is instantiated or destroyed , there are some operations you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So, I’m 👎 , I think we can close this for now. Feel free to reopen this at any time.
@mcollina Thoughts on this? I still haven’t found a use case to be honest.