Class GlobalConfiguration
- java.lang.Object
-
- org.infinispan.configuration.global.GlobalConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo
,ConfigurationInfo
public class GlobalConfiguration extends Object implements ConfigurationInfo
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:
- Configuration reference
-
-
Field Summary
Fields Modifier and Type Field Description static short
DEFAULT_MARSHALL_VERSION
Deprecated.Since 9.4, useVersion.getVersionShort()
instead.
-
Method Summary
-
Methods inherited from interface org.infinispan.commons.configuration.BaseConfigurationInfo
attributes
-
-
-
-
Field Detail
-
DEFAULT_MARSHALL_VERSION
@Deprecated public static final short DEFAULT_MARSHALL_VERSION
Deprecated.Since 9.4, useVersion.getVersionShort()
instead.Default replication version, fromVersion.getVersionShort()
.
-
-
Method Detail
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
subElements
public List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Returns:
- the list of sub elements.
-
statistics
public boolean statistics()
-
expirationThreadPool
public ThreadPoolConfiguration expirationThreadPool()
-
listenerThreadPool
public ThreadPoolConfiguration listenerThreadPool()
-
persistenceThreadPool
@Deprecated public ThreadPoolConfiguration persistenceThreadPool()
Deprecated.Since 11.0, no longer used.- Returns:
- An empty
ThreadPoolConfiguration
.
-
stateTransferThreadPool
@Deprecated public ThreadPoolConfiguration stateTransferThreadPool()
Deprecated.Since 10.1, no longer used.- Returns:
- An empty
ThreadPoolConfiguration
.
-
asyncThreadPool
@Deprecated public ThreadPoolConfiguration asyncThreadPool()
Deprecated.Since 11.0, no longer used.- Returns:
- An empty
ThreadPoolConfiguration
.
-
nonBlockingThreadPool
public ThreadPoolConfiguration nonBlockingThreadPool()
-
blockingThreadPool
public ThreadPoolConfiguration blockingThreadPool()
-
metrics
public GlobalMetricsConfiguration metrics()
-
jmx
public GlobalJmxConfiguration jmx()
-
globalJmxStatistics
@Deprecated public GlobalJmxConfiguration globalJmxStatistics()
Deprecated.Since 10.1.3. Usejmx()
instead. This will be removed in next major version.
-
cacheManagerName
public String cacheManagerName()
-
transport
public TransportConfiguration transport()
-
security
public GlobalSecurityConfiguration security()
-
serialization
public SerializationConfiguration serialization()
-
shutdown
public ShutdownConfiguration shutdown()
-
globalState
public GlobalStateConfiguration globalState()
-
asyncThreadPoolName
@Deprecated public String asyncThreadPoolName()
Deprecated.Since 11.0, no longer used.
-
nonBlockingThreadPoolName
public String nonBlockingThreadPoolName()
-
listenerThreadPoolName
public String listenerThreadPoolName()
-
expirationThreadPoolName
public String expirationThreadPoolName()
-
persistenceThreadPoolName
@Deprecated public String persistenceThreadPoolName()
Deprecated.Since 11.0, no longer used.
-
blockingThreadPoolName
public String blockingThreadPoolName()
-
stateTransferThreadPoolName
@Deprecated public String stateTransferThreadPoolName()
Deprecated.Since 10.1, no longer used.
-
module
public <T> T module(Class<T> moduleClass)
-
classLoader
public ClassLoader classLoader()
Get the classloader in use by this configuration.
-
sites
public SiteConfiguration sites()
-
features
public Features features()
-
isClustered
public boolean isClustered()
-
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
-
toString
public String toString()
-
-