Class GlobalJmxStatisticsConfigurationBuilder
- java.lang.Object
-
- org.infinispan.configuration.global.GlobalJmxStatisticsConfigurationBuilder
-
- All Implemented Interfaces:
GlobalConfigurationChildBuilder
- Direct Known Subclasses:
GlobalJmxConfigurationBuilder
@Deprecated public abstract class GlobalJmxStatisticsConfigurationBuilder extends Object
Deprecated.since 10.1.3. UseGlobalJmxConfigurationBuilderinstead. This will be removed in next major version.Configures JMX for the cache manager and its caches.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract GlobalJmxStatisticsConfigurationBuilderaddProperty(String key, String value)Deprecated.ThreadPoolConfigurationBuilderasyncThreadPool()Configuration for the asynchronous operations thread poolThreadPoolConfigurationBuilderblockingThreadPool()Configuration for the blocking thread poolGlobalConfigurationbuild()Builds aGlobalConfigurationobject using the settings applied to this builderabstract GlobalJmxStatisticsConfigurationBuildercacheManagerName(String cacheManagerName)Deprecated.GlobalConfigurationBuilderdefaultCacheName(String defaultCacheName)Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache().abstract GlobalJmxStatisticsConfigurationBuilderdisable()Deprecated.Disables JMX in the cache manager.abstract GlobalJmxStatisticsConfigurationBuilderdomain(String domain)Deprecated.If JMX is enabled then all 'published' JMX objects will appear under this name.abstract GlobalJmxStatisticsConfigurationBuilderenable()Deprecated.Enables JMX in the cache manager.abstract GlobalJmxStatisticsConfigurationBuilderenabled(boolean enabled)Deprecated.Enables JMX in the cache manager.ThreadPoolConfigurationBuilderexpirationThreadPool()Configuration for the expiration thread poolprotected GlobalConfigurationBuildergetGlobalConfig()GlobalStateConfigurationBuilderglobalState()Global state configurationGlobalJmxConfigurationBuilderjmx()Global JMX configuration.GlobalJmxStatisticsConfigurationBuilderjmxDomain(String domain)Deprecated.Since 10.1.3, please usedomain(String)instead.ThreadPoolConfigurationBuilderlistenerThreadPool()Configuration for the listener thread poolabstract GlobalJmxStatisticsConfigurationBuildermBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)Deprecated.Sets the instance of theMBeanServerLookupclass to be used to bound JMX MBeans to.GlobalMetricsConfigurationBuildermetrics()Global microprofile metrics configuration.List<Builder<?>>modules()Global modules configurationThreadPoolConfigurationBuildernonBlockingThreadPool()Configuration for the non blocking thread poolThreadPoolConfigurationBuilderpersistenceThreadPool()Configuration for the persistence thread poolGlobalSecurityConfigurationBuildersecurity()Security-related configurationSerializationConfigurationBuilderserialization()Global serialization (i.e.ShutdownConfigurationBuildershutdown()Shutdown configurationSiteConfigurationBuildersite()Cross-site replication configurationThreadPoolConfigurationBuilderstateTransferThreadPool()Configuration for the state-transfer thread poolTransportConfigurationBuildertransport()Transport-related (i.e.abstract GlobalJmxStatisticsConfigurationBuilderwithProperties(Properties properties)Deprecated.Sets properties which are then passed to the MBean Server Lookup implementation specified.-
Methods inherited from interface org.infinispan.configuration.global.GlobalConfigurationChildBuilder
globalJmxStatistics
-
-
-
-
Method Detail
-
withProperties
public abstract GlobalJmxStatisticsConfigurationBuilder withProperties(Properties properties)
Deprecated.Sets properties which are then passed to the MBean Server Lookup implementation specified.- Parameters:
properties- properties to pass to the MBean Server Lookup
-
addProperty
public abstract GlobalJmxStatisticsConfigurationBuilder addProperty(String key, String value)
Deprecated.
-
domain
public abstract GlobalJmxStatisticsConfigurationBuilder domain(String domain)
Deprecated.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 public GlobalJmxStatisticsConfigurationBuilder jmxDomain(String domain)
Deprecated.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 public abstract GlobalJmxStatisticsConfigurationBuilder cacheManagerName(String cacheManagerName)
Deprecated.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.Sets the instance of theMBeanServerLookupclass to be used to bound JMX MBeans to.- Parameters:
mBeanServerLookupInstance- An instance ofMBeanServerLookup
-
disable
public abstract GlobalJmxStatisticsConfigurationBuilder disable()
Deprecated.Disables JMX in the cache manager.
-
enable
public abstract GlobalJmxStatisticsConfigurationBuilder enable()
Deprecated.Enables JMX in the cache manager.
-
enabled
public abstract GlobalJmxStatisticsConfigurationBuilder enabled(boolean enabled)
Deprecated.Enables JMX in the cache manager.
-
getGlobalConfig
protected GlobalConfigurationBuilder getGlobalConfig()
-
transport
public TransportConfigurationBuilder transport()
Description copied from interface:GlobalConfigurationChildBuilderTransport-related (i.e. clustering) configuration- Specified by:
transportin interfaceGlobalConfigurationChildBuilder
-
metrics
public GlobalMetricsConfigurationBuilder metrics()
Description copied from interface:GlobalConfigurationChildBuilderGlobal microprofile metrics configuration.- Specified by:
metricsin interfaceGlobalConfigurationChildBuilder
-
jmx
public GlobalJmxConfigurationBuilder jmx()
Description copied from interface:GlobalConfigurationChildBuilderGlobal JMX configuration.- Specified by:
jmxin interfaceGlobalConfigurationChildBuilder
-
globalState
public GlobalStateConfigurationBuilder globalState()
Description copied from interface:GlobalConfigurationChildBuilderGlobal state configuration- Specified by:
globalStatein interfaceGlobalConfigurationChildBuilder
-
serialization
public SerializationConfigurationBuilder serialization()
Description copied from interface:GlobalConfigurationChildBuilderGlobal serialization (i.e. marshalling) configuration- Specified by:
serializationin interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
public ThreadPoolConfigurationBuilder listenerThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the listener thread pool- Specified by:
listenerThreadPoolin interfaceGlobalConfigurationChildBuilder
-
asyncThreadPool
public ThreadPoolConfigurationBuilder asyncThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the asynchronous operations thread pool- Specified by:
asyncThreadPoolin interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
public ThreadPoolConfigurationBuilder expirationThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the expiration thread pool- Specified by:
expirationThreadPoolin interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
public ThreadPoolConfigurationBuilder persistenceThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the persistence thread pool- Specified by:
persistenceThreadPoolin interfaceGlobalConfigurationChildBuilder
-
stateTransferThreadPool
public ThreadPoolConfigurationBuilder stateTransferThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the state-transfer thread pool- Specified by:
stateTransferThreadPoolin interfaceGlobalConfigurationChildBuilder
-
blockingThreadPool
public ThreadPoolConfigurationBuilder blockingThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the blocking thread pool- Specified by:
blockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
nonBlockingThreadPool
public ThreadPoolConfigurationBuilder nonBlockingThreadPool()
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the non blocking thread pool- Specified by:
nonBlockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
security
public GlobalSecurityConfigurationBuilder security()
Description copied from interface:GlobalConfigurationChildBuilderSecurity-related configuration- Specified by:
securityin interfaceGlobalConfigurationChildBuilder
-
shutdown
public ShutdownConfigurationBuilder shutdown()
Description copied from interface:GlobalConfigurationChildBuilderShutdown configuration- Specified by:
shutdownin interfaceGlobalConfigurationChildBuilder
-
site
public SiteConfigurationBuilder site()
Description copied from interface:GlobalConfigurationChildBuilderCross-site replication configuration- Specified by:
sitein interfaceGlobalConfigurationChildBuilder
-
modules
public List<Builder<?>> modules()
Description copied from interface:GlobalConfigurationChildBuilderGlobal modules configuration- Specified by:
modulesin interfaceGlobalConfigurationChildBuilder
-
defaultCacheName
public GlobalConfigurationBuilder defaultCacheName(String defaultCacheName)
Description copied from interface:GlobalConfigurationChildBuilderSets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache(). Not- Specified by:
defaultCacheNamein interfaceGlobalConfigurationChildBuilder
-
build
public GlobalConfiguration build()
Description copied from interface:GlobalConfigurationChildBuilderBuilds aGlobalConfigurationobject using the settings applied to this builder- Specified by:
buildin interfaceGlobalConfigurationChildBuilder
-
-