Class Configuration
- java.lang.Object
-
- org.infinispan.configuration.cache.Configuration
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.attributes.Matchable<Configuration>
,BaseConfigurationInfo
,BasicConfiguration
,ConfigurationInfo
public class Configuration extends Object implements BasicConfiguration, org.infinispan.commons.configuration.attributes.Matchable<Configuration>, ConfigurationInfo
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.configuration.elements.ElementDefinition
ELEMENT_DEFINITION
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
SIMPLE_CACHE
-
Method Summary
-
Methods inherited from interface org.infinispan.commons.configuration.BasicConfiguration
toXMLString
-
-
-
-
Field Detail
-
SIMPLE_CACHE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> SIMPLE_CACHE
-
ELEMENT_DEFINITION
public static final org.infinispan.commons.configuration.elements.ElementDefinition ELEMENT_DEFINITION
-
-
Method Detail
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
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.
-
simpleCache
public boolean simpleCache()
-
clustering
public ClusteringConfiguration clustering()
-
customInterceptors
@Deprecated public CustomInterceptorsConfiguration customInterceptors()
Deprecated.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptors
-
encoding
public EncodingConfiguration encoding()
-
expiration
public ExpirationConfiguration expiration()
-
indexing
public IndexingConfiguration indexing()
-
invocationBatching
public InvocationBatchingConfiguration invocationBatching()
-
statistics
public StatisticsConfiguration statistics()
-
jmxStatistics
@Deprecated public JMXStatisticsConfiguration jmxStatistics()
Deprecated.since 10.1.3 usestatistics()
instead. This will be removed in next major version.
-
persistence
public PersistenceConfiguration persistence()
-
locking
public LockingConfiguration locking()
-
memory
public MemoryConfiguration memory()
-
module
public <T> T module(Class<T> moduleClass)
-
transaction
public TransactionConfiguration transaction()
-
unsafe
public UnsafeConfiguration unsafe()
-
security
public SecurityConfiguration security()
-
sites
public SitesConfiguration sites()
-
isTemplate
public boolean isTemplate()
-
toString
public String toString()
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
matches
public boolean matches(Configuration other)
-
toXMLString
public String toXMLString(String name)
Description copied from interface:BasicConfiguration
Converts this configuration to its XML representation. The name of the configuration in the XML will be the one supplied in the argument.- Specified by:
toXMLString
in interfaceBasicConfiguration
- Returns:
- a String containing the XML representation of an Infinispan configuration using the Infinispan schema.
-
-