[infinispan-issues] [JBoss JIRA] (ISPN-11481) Infinispan shutdownHook should not be registered in Embedded mode
Ryan Emerson (Jira)
issues at jboss.org
Wed Mar 25 14:01:38 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Emerson closed ISPN-11481.
-------------------------------
Resolution: Won't Do
The shutdown hook can already be disabled by explicitly setting {{GlobalConfiguration.CacheContainerConfiguration.ShutdownConfiguration.shutdownHook = DONT_REGISTER}}.
> Infinispan shutdownHook should not be registered in Embedded mode
> -----------------------------------------------------------------
>
> Key: ISPN-11481
> URL: https://issues.redhat.com/browse/ISPN-11481
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.0.Alpha2
> Reporter: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> Currently the GlobalComponentRegistry registers a shutdown hook with the JVM, however for Embedded mode this does not necessarily makes sense as it should be up to the consuming application to control this behaviour. Instead, we just register this shutdown hook on the server runtime.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list