Class Configuration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<Configuration>
org.infinispan.configuration.cache.Configuration
- All Implemented Interfaces:
Matchable<Configuration>
,Updatable<Configuration>
,BasicConfiguration
public class Configuration
extends ConfigurationElement<Configuration>
implements BasicConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AttributeDefinition
<String> static final AttributeDefinition
<Boolean> Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeSet
Deprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsencoding()
boolean
int
hashCode()
indexing()
boolean
Deprecated, for removal: This API element is subject to removal in a future version.since 10.1.3 usestatistics()
instead.locking()
boolean
matches
(Configuration other) memory()
<T> T
modules()
query()
security()
boolean
sites()
toString()
toStringConfiguration
(String name, MediaType mediaType, boolean clearTextSecrets) Converts this configuration to a string representation.unsafe()
Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, findAttribute, isModified, list, update, validateUpdate, write
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.commons.configuration.BasicConfiguration
toStringConfiguration, toXMLString, toXMLString
-
Field Details
-
CONFIGURATION
-
SIMPLE_CACHE
-
-
Method Details
-
attributeDefinitionSet
-
simpleCache
public boolean simpleCache() -
clustering
-
customInterceptors
Deprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptors -
encoding
-
expiration
-
query
-
indexing
-
invocationBatching
-
statistics
-
jmxStatistics
Deprecated, for removal: This API element is subject to removal in a future version.since 10.1.3 usestatistics()
instead. This will be removed in next major version. -
persistence
-
locking
-
memory
-
module
-
modules
-
transaction
-
unsafe
-
security
-
sites
-
isTemplate
public boolean isTemplate() -
toString
- Overrides:
toString
in classConfigurationElement<Configuration>
-
equals
- Overrides:
equals
in classConfigurationElement<Configuration>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConfigurationElement<Configuration>
-
matches
- Specified by:
matches
in interfaceMatchable<Configuration>
- Overrides:
matches
in classConfigurationElement<Configuration>
-
toStringConfiguration
Description copied from interface:BasicConfiguration
Converts this configuration to a string representation.- Specified by:
toStringConfiguration
in interfaceBasicConfiguration
- Parameters:
name
- The name of the configuration in the generated string.mediaType
- The type of string to generate. Can be one of XML, JSON or YAML.clearTextSecrets
- Whether secrets (e.g. passwords) should be included in clear text or masked.- Returns:
- a String containing the representation of an Infinispan configuration using the Infinispan schema in one of the supported formats (XML, JSON, YAML).
-