org.infinispan.config
Class GlobalConfiguration.ShutdownType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.GlobalConfiguration.ShutdownType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, FluentGlobalConfiguration.ShutdownConfig, JAXBUnmarshallable
- Enclosing class:
- GlobalConfiguration
public static class GlobalConfiguration.ShutdownType
- extends AbstractConfigurationBean
- implements FluentGlobalConfiguration.ShutdownConfig
This element specifies behavior when the JVM running the cache instance shuts down.
- See Also:
- Configuration reference,
Serialized Form
hookBehavior
protected GlobalConfiguration.ShutdownHookBehavior hookBehavior
GlobalConfiguration.ShutdownType
public GlobalConfiguration.ShutdownType()
accept
public void accept(ConfigurationBeanVisitor v)
getHookBehavior
public GlobalConfiguration.ShutdownHookBehavior getHookBehavior()
setHookBehavior
@Deprecated
public void setHookBehavior(GlobalConfiguration.ShutdownHookBehavior hookBehavior)
- Deprecated. The visibility of this will be reduced, use
hookBehavior(org.infinispan.config.GlobalConfiguration.ShutdownHookBehavior)
instead
hookBehavior
public FluentGlobalConfiguration.ShutdownConfig hookBehavior(GlobalConfiguration.ShutdownHookBehavior hookBehavior)
- Specified by:
hookBehavior
in interface FluentGlobalConfiguration.ShutdownConfig
transport
public FluentGlobalConfiguration.TransportConfig transport()
globalJmxStatistics
public FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
- This method allows configuration of the global, or cache manager level,
jmx statistics. When this method is called, it automatically enables
global jmx statistics. So, if you want it to be disabled, make sure you call
FluentGlobalConfiguration.GlobalJmxStatisticsConfig.disable()
serialization
public FluentGlobalConfiguration.SerializationConfig serialization()
asyncTransportExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()
asyncListenerExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()
evictionScheduledExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()
replicationQueueScheduledExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()
shutdown
public FluentGlobalConfiguration.ShutdownConfig shutdown()
build
public GlobalConfiguration build()
inject
public void inject(GlobalComponentRegistry gcr,
GlobalConfiguration globalConfig)
hasComponentStarted
protected boolean hasComponentStarted()
- Description copied from class:
AbstractConfigurationBean
- Tests whether the component this configuration bean intents to configure has already started.
- Specified by:
hasComponentStarted
in class AbstractConfigurationBean
- Returns:
- true if the component has started; false otherwise.
clone
public CloneableConfigurationComponent clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface CloneableConfigurationComponent
- Overrides:
clone
in class AbstractConfigurationBean
- Throws:
CloneNotSupportedException
transport
public FluentGlobalConfiguration.TransportConfig transport()
globalJmxStatistics
public FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
- This method allows configuration of the global, or cache manager level,
jmx statistics. When this method is called, it automatically enables
global jmx statistics. So, if you want it to be disabled, make sure you call
FluentGlobalConfiguration.GlobalJmxStatisticsConfig.disable()
serialization
public FluentGlobalConfiguration.SerializationConfig serialization()
asyncListenerExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()
asyncTransportExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()
evictionScheduledExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()
replicationQueueScheduledExecutor
public FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()
shutdown
public FluentGlobalConfiguration.ShutdownConfig shutdown()
build
public GlobalConfiguration build()
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.