Class GlobalConfiguration
java.lang.Object
org.infinispan.configuration.global.GlobalConfiguration
Configuration component that exposes the global configuration.
- Since:
- 5.1
- Author:
- Manik Surtani, Vladimir Blagojevic, Mircea.Markus@jboss.com, Galder Zamarreño, Pete Muir, Pedro Ruivo
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the classloader in use by this configuration.features()booleanbooleanReturns true if this node is configured as a zero-capacity node.jmx()metrics()<T> TGet a specific module's configuration.modules()security()shutdown()booleantoString()tracing()
-
Method Details
-
statistics
public boolean statistics()- Returns:
- If the cache manager statistics are enabled.
-
expirationThreadPool
- Returns:
- The
ThreadPoolConfigurationfor the expiration thread pool.
-
listenerThreadPool
- Returns:
- The
ThreadPoolConfigurationfor the listener thread pool.
-
nonBlockingThreadPool
- Returns:
- The
ThreadPoolConfigurationfor the non-blocking thread pool.
-
blockingThreadPool
- Returns:
- The
ThreadPoolConfigurationfor the blocking thread pool.
-
tracing
- Returns:
- The
GlobalTracingConfigurationfor the global tracing.
-
metrics
- Returns:
- The
GlobalMetricsConfigurationfor the global metrics.
-
jmx
- Returns:
- The
GlobalJmxConfigurationfor the global JMX.
-
cacheManagerName
- Returns:
- The name of the cache manager.
-
transport
- Returns:
- The
TransportConfigurationfor the global transport.
-
security
- Returns:
- The
GlobalSecurityConfigurationfor the global security.
-
serialization
- Returns:
- The
SerializationConfigurationfor the global serialization.
-
shutdown
- Returns:
- The
ShutdownConfigurationfor the global shutdown.
-
globalState
- Returns:
- The
GlobalStateConfigurationfor the global state.
-
nonBlockingThreadPoolName
- Returns:
- The name of the non-blocking thread pool.
-
listenerThreadPoolName
- Returns:
- The name of the listener thread pool.
-
expirationThreadPoolName
- Returns:
- The name of the expiration thread pool.
-
blockingThreadPoolName
- Returns:
- The name of the blocking thread pool.
-
module
Get a specific module's configuration.- Type Parameters:
T- The type of the module configuration.- Parameters:
moduleClass- The class of the module to retrieve.- Returns:
- The module configuration, or
nullif not found.
-
modules
-
classLoader
Get the classloader in use by this configuration.- Returns:
- The
ClassLoaderin use.
-
defaultCacheName
-
features
-
isClustered
public boolean isClustered()- Returns:
- True if the transport is configured, meaning this is a clustered setup.
-
isZeroCapacityNode
public boolean isZeroCapacityNode()Returns true if this node is configured as a zero-capacity node. If the node is zero-capacity node, it won't hold any data except for replicated caches- Returns:
- true or false
-
getMemoryContainer
- Returns:
- The container memory configuration.
-
toString
-