Class GlobalConfiguration
- java.lang.Object
-
- org.infinispan.configuration.global.GlobalConfiguration
-
public class GlobalConfiguration extends Object
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
-
-
-
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
-
asyncListenerExecutor
@Deprecated public ExecutorFactoryConfiguration asyncListenerExecutor()
Deprecated.This method always returns null now. Look for a thread pool named aslistenerThreadPool()
instead.
-
persistenceExecutor
@Deprecated public ExecutorFactoryConfiguration persistenceExecutor()
Deprecated.This method always returns null now. Look for a thread pool named aspersistenceThreadPool()
instead.
-
asyncTransportExecutor
@Deprecated public ExecutorFactoryConfiguration asyncTransportExecutor()
Deprecated.This method always returns null now. Look for a thread pool named asTransportConfiguration.transportThreadPool()
instead.
-
remoteCommandsExecutor
@Deprecated public ExecutorFactoryConfiguration remoteCommandsExecutor()
Deprecated.This method always returns null now. Look for a thread pool named asTransportConfiguration.remoteCommandThreadPool()
instead.
-
evictionScheduledExecutor
@Deprecated public ScheduledExecutorFactoryConfiguration evictionScheduledExecutor()
Deprecated.This method always returns null now. Look for a thread pool named asexpirationThreadPool()
instead.
-
expirationThreadPool
public ThreadPoolConfiguration expirationThreadPool()
-
evictionThreadPool
@Deprecated public ThreadPoolConfiguration evictionThreadPool()
Deprecated.UseexpirationThreadPool
instead
-
listenerThreadPool
public ThreadPoolConfiguration listenerThreadPool()
-
replicationQueueThreadPool
@Deprecated public ThreadPoolConfiguration replicationQueueThreadPool()
Deprecated.Since 9.0, no longer used.
-
persistenceThreadPool
public ThreadPoolConfiguration persistenceThreadPool()
-
stateTransferThreadPool
public ThreadPoolConfiguration stateTransferThreadPool()
-
asyncThreadPool
public ThreadPoolConfiguration asyncThreadPool()
-
globalJmxStatistics
public GlobalJmxStatisticsConfiguration globalJmxStatistics()
-
transport
public TransportConfiguration transport()
-
security
public GlobalSecurityConfiguration security()
-
serialization
public SerializationConfiguration serialization()
-
shutdown
public ShutdownConfiguration shutdown()
-
globalState
public GlobalStateConfiguration globalState()
-
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
-
-