All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.configuration.global.ShutdownHookBehavior Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.configuration.global;

/**
 * Behavior of the JVM shutdown hook registered by the cache
 */
public enum ShutdownHookBehavior {
   /**
    * By default a shutdown hook is registered if no MBean server (apart from the JDK default) is detected.
    */
   DEFAULT,
   /**
    * Forces the cache to register a shutdown hook even if an MBean server is detected.
    */
   REGISTER,
   /**
    * Forces the cache NOT to register a shutdown hook, even if no MBean server is detected.
    */
   DONT_REGISTER
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy