Class GlobalConfiguration

  • All Implemented Interfaces:
    org.infinispan.commons.configuration.BaseConfigurationInfo, org.infinispan.commons.configuration.ConfigurationInfo

    public class GlobalConfiguration
    extends Object
    implements org.infinispan.commons.configuration.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 Detail

      • DEFAULT_MARSHALL_VERSION

        @Deprecated
        public static final short DEFAULT_MARSHALL_VERSION
        Deprecated.
        Since 9.4, use Version.getVersionShort() instead.
        Default replication version, from Version.getVersionShort().
    • Method Detail

      • getElementDefinition

        public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
        Specified by:
        getElementDefinition in interface org.infinispan.commons.configuration.BaseConfigurationInfo
      • subElements

        public List<org.infinispan.commons.configuration.ConfigurationInfo> subElements()
        Specified by:
        subElements in interface org.infinispan.commons.configuration.ConfigurationInfo
      • statistics

        public boolean statistics()
      • 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.
      • cacheManagerName

        public String cacheManagerName()
      • 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)
      • modules

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

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

        public org.infinispan.commons.util.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