Class GlobalJmxStatisticsConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.GlobalJmxStatisticsConfigurationBuilder
- All Implemented Interfaces:
GlobalConfigurationChildBuilder
- Direct Known Subclasses:
GlobalJmxConfigurationBuilder
@Deprecated(forRemoval=true)
public abstract class GlobalJmxStatisticsConfigurationBuilder
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Configures JMX for the cache manager and its caches.
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(String key, String value) Deprecated, for removal: This API element is subject to removal in a future version.Configuration for the asynchronous operations thread poolConfiguration for the blocking thread poolbuild()
Builds aGlobalConfiguration
object using the settings applied to this buildercacheManagerName
(String cacheManagerName) Deprecated, for removal: This API element is subject to removal in a future version.defaultCacheName
(String defaultCacheName) Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache()
.disable()
Deprecated, for removal: This API element is subject to removal in a future version.Disables JMX in the cache manager.Deprecated, for removal: This API element is subject to removal in a future version.If JMX is enabled then all 'published' JMX objects will appear under this name.enable()
Deprecated, for removal: This API element is subject to removal in a future version.Enables JMX in the cache manager.enabled
(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Enables JMX in the cache manager.Configuration for the expiration thread poolprotected GlobalConfigurationBuilder
Global state configurationjmx()
Global JMX configuration.Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1.3, please usedomain(String)
instead.Configuration for the listener thread poolmBeanServerLookup
(MBeanServerLookup mBeanServerLookupInstance) Deprecated, for removal: This API element is subject to removal in a future version.Sets the instance of theMBeanServerLookup
class to be used to bound JMX MBeans to.metrics()
Global metrics configuration.modules()
Global modules configurationConfiguration for the non blocking thread poolConfiguration for the persistence thread poolsecurity()
Security-related configurationGlobal serialization (i.e.shutdown()
Shutdown configurationsite()
Cross-site replication configurationConfiguration for the state-transfer thread poolTransport-related (i.e.withProperties
(Properties properties) Deprecated, for removal: This API element is subject to removal in a future version.Sets properties which are then passed to the MBean Server Lookup implementation specified.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.configuration.global.GlobalConfigurationChildBuilder
globalJmxStatistics
-
Method Details
-
withProperties
Deprecated, for removal: This API element is subject to removal in a future version.Sets properties which are then passed to the MBean Server Lookup implementation specified.- Parameters:
properties
- properties to pass to the MBean Server Lookup
-
addProperty
Deprecated, for removal: This API element is subject to removal in a future version. -
domain
Deprecated, for removal: This API element is subject to removal in a future version.If JMX is enabled then all 'published' JMX objects will appear under this name. This is optional, if not specified a default domain name will be set by default.- Parameters:
domain
-
-
jmxDomain
@Deprecated(forRemoval=true) public GlobalJmxStatisticsConfigurationBuilder jmxDomain(String domain) Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1.3, please usedomain(String)
instead.If JMX is enabled then all 'published' JMX objects will appear under this name. This is optional, if not specified a default domain name will be set by default. -
cacheManagerName
@Deprecated(forRemoval=true) public abstract GlobalJmxStatisticsConfigurationBuilder cacheManagerName(String cacheManagerName) Deprecated, for removal: This API element is subject to removal in a future version.If JMX statistics are enabled, this property represents the name of this cache manager. It offers the possibility for clients to provide a user-defined name to the cache manager which later can be used to identify the cache manager within a JMX based management tool amongst other cache managers that might be running under the same JVM. -
mBeanServerLookup
public abstract GlobalJmxStatisticsConfigurationBuilder mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance) Deprecated, for removal: This API element is subject to removal in a future version.Sets the instance of theMBeanServerLookup
class to be used to bound JMX MBeans to.- Parameters:
mBeanServerLookupInstance
- An instance ofMBeanServerLookup
-
disable
Deprecated, for removal: This API element is subject to removal in a future version.Disables JMX in the cache manager. -
enable
Deprecated, for removal: This API element is subject to removal in a future version.Enables JMX in the cache manager. -
enabled
Deprecated, for removal: This API element is subject to removal in a future version.Enables JMX in the cache manager. -
getGlobalConfig
-
transport
Description copied from interface:GlobalConfigurationChildBuilder
Transport-related (i.e. clustering) configuration- Specified by:
transport
in interfaceGlobalConfigurationChildBuilder
-
metrics
Description copied from interface:GlobalConfigurationChildBuilder
Global metrics configuration.- Specified by:
metrics
in interfaceGlobalConfigurationChildBuilder
-
jmx
Description copied from interface:GlobalConfigurationChildBuilder
Global JMX configuration.- Specified by:
jmx
in interfaceGlobalConfigurationChildBuilder
-
globalState
Description copied from interface:GlobalConfigurationChildBuilder
Global state configuration- Specified by:
globalState
in interfaceGlobalConfigurationChildBuilder
-
serialization
Description copied from interface:GlobalConfigurationChildBuilder
Global serialization (i.e. marshalling) configuration- Specified by:
serialization
in interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the listener thread pool- Specified by:
listenerThreadPool
in interfaceGlobalConfigurationChildBuilder
-
asyncThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the asynchronous operations thread pool- Specified by:
asyncThreadPool
in interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the expiration thread pool- Specified by:
expirationThreadPool
in interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the persistence thread pool- Specified by:
persistenceThreadPool
in interfaceGlobalConfigurationChildBuilder
-
stateTransferThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the state-transfer thread pool- Specified by:
stateTransferThreadPool
in interfaceGlobalConfigurationChildBuilder
-
blockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the blocking thread pool- Specified by:
blockingThreadPool
in interfaceGlobalConfigurationChildBuilder
-
nonBlockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the non blocking thread pool- Specified by:
nonBlockingThreadPool
in interfaceGlobalConfigurationChildBuilder
-
security
Description copied from interface:GlobalConfigurationChildBuilder
Security-related configuration- Specified by:
security
in interfaceGlobalConfigurationChildBuilder
-
shutdown
Description copied from interface:GlobalConfigurationChildBuilder
Shutdown configuration- Specified by:
shutdown
in interfaceGlobalConfigurationChildBuilder
-
site
Description copied from interface:GlobalConfigurationChildBuilder
Cross-site replication configuration- Specified by:
site
in interfaceGlobalConfigurationChildBuilder
-
modules
Description copied from interface:GlobalConfigurationChildBuilder
Global modules configuration- Specified by:
modules
in interfaceGlobalConfigurationChildBuilder
-
defaultCacheName
Description copied from interface:GlobalConfigurationChildBuilder
Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache()
. Not- Specified by:
defaultCacheName
in interfaceGlobalConfigurationChildBuilder
-
build
Description copied from interface:GlobalConfigurationChildBuilder
Builds aGlobalConfiguration
object using the settings applied to this builder- Specified by:
build
in interfaceGlobalConfigurationChildBuilder
-
GlobalJmxConfigurationBuilder
instead. This will be removed in next major version.