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
FieldsModifier 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 AttributeSetDeprecated, 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()booleaninthashCode()indexing()booleanDeprecated, for removal: This API element is subject to removal in a future version.since 10.1.3 usestatistics()instead.locking()booleanmatches(Configuration other) memory()<T> Tmodules()query()security()booleansites()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, writeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
toStringin classConfigurationElement<Configuration>
-
equals
- Overrides:
equalsin classConfigurationElement<Configuration>
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfigurationElement<Configuration>
-
matches
- Specified by:
matchesin interfaceMatchable<Configuration>- Overrides:
matchesin classConfigurationElement<Configuration>
-
toStringConfiguration
Description copied from interface:BasicConfigurationConverts this configuration to a string representation.- Specified by:
toStringConfigurationin 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).
-