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:
  • Field Details

    • DEFAULT_MARSHALL_VERSION

      @Deprecated(forRemoval=true) public static final short DEFAULT_MARSHALL_VERSION
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 9.4, use Version.getVersionShort() instead.
      Default replication version, from Version.getVersionShort().
  • Method Details

    • statistics

      public boolean statistics()
    • expirationThreadPool

      public ThreadPoolConfiguration expirationThreadPool()
    • listenerThreadPool

      public ThreadPoolConfiguration listenerThreadPool()
    • persistenceThreadPool

      @Deprecated(forRemoval=true) public ThreadPoolConfiguration persistenceThreadPool()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 11.0, no longer used.
      Returns:
      An empty ThreadPoolConfiguration.
    • stateTransferThreadPool

      @Deprecated(forRemoval=true) public ThreadPoolConfiguration stateTransferThreadPool()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 10.1, no longer used.
      Returns:
      An empty ThreadPoolConfiguration.
    • asyncThreadPool

      @Deprecated(forRemoval=true) public ThreadPoolConfiguration asyncThreadPool()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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(forRemoval=true) public GlobalJmxConfiguration globalJmxStatistics()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 10.1.3. Use jmx() 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(forRemoval=true) public String asyncThreadPoolName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 11.0, no longer used.
    • nonBlockingThreadPoolName

      public String nonBlockingThreadPoolName()
    • listenerThreadPoolName

      public String listenerThreadPoolName()
    • expirationThreadPoolName

      public String expirationThreadPoolName()
    • persistenceThreadPoolName

      @Deprecated(forRemoval=true) public String persistenceThreadPoolName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 11.0, no longer used.
    • blockingThreadPoolName

      public String blockingThreadPoolName()
    • stateTransferThreadPoolName

      @Deprecated(forRemoval=true) public String stateTransferThreadPoolName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 10.1, no longer used.
    • module

      public <T> T module(Class<T> moduleClass)
    • modules

      public Map<Class<?>,?> modules()
    • classLoader

      public ClassLoader classLoader()
      Get the classloader in use by this configuration.
    • sites

      public SiteConfiguration sites()
    • defaultCacheName

      public Optional<String> defaultCacheName()
    • 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()
      Overrides:
      toString in class Object