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:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Since 11.0, no longer used.Deprecated.Since 11.0, no longer used.Get the classloader in use by this configuration.features()
Deprecated.Since 10.1.3.boolean
boolean
Returns true if this node is configured as a zero-capacity node.jmx()
metrics()
<T> T
modules()
Deprecated.Since 11.0, no longer used.Deprecated.Since 11.0, no longer used.security()
shutdown()
sites()
Deprecated.Since 10.1, no longer used.Deprecated.Since 10.1, no longer used.boolean
toString()
-
Field Details
-
DEFAULT_MARSHALL_VERSION
Deprecated.Since 9.4, useVersion.getVersionShort()
instead.Default replication version, fromVersion.getVersionShort()
.
-
-
Method Details
-
statistics
public boolean statistics() -
expirationThreadPool
-
listenerThreadPool
-
persistenceThreadPool
Deprecated.Since 11.0, no longer used.- Returns:
- An empty
ThreadPoolConfiguration
.
-
stateTransferThreadPool
Deprecated.Since 10.1, no longer used.- Returns:
- An empty
ThreadPoolConfiguration
.
-
asyncThreadPool
Deprecated.Since 11.0, no longer used.- Returns:
- An empty
ThreadPoolConfiguration
.
-
nonBlockingThreadPool
-
blockingThreadPool
-
metrics
-
jmx
-
globalJmxStatistics
Deprecated.Since 10.1.3. Usejmx()
instead. This will be removed in next major version. -
cacheManagerName
-
transport
-
security
-
serialization
-
shutdown
-
globalState
-
asyncThreadPoolName
Deprecated.Since 11.0, no longer used. -
nonBlockingThreadPoolName
-
listenerThreadPoolName
-
expirationThreadPoolName
-
persistenceThreadPoolName
Deprecated.Since 11.0, no longer used. -
blockingThreadPoolName
-
stateTransferThreadPoolName
Deprecated.Since 10.1, no longer used. -
module
-
modules
-
classLoader
Get the classloader in use by this configuration. -
sites
-
defaultCacheName
-
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
-
Version.getVersionShort()
instead.