Class EncodingConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.EncodingConfiguration
-
- All Implemented Interfaces:
Matchable<EncodingConfiguration>
,BaseConfigurationInfo
,ConfigurationInfo
public final class EncodingConfiguration extends java.lang.Object implements Matchable<EncodingConfiguration>, ConfigurationInfo
Controls encoding configuration for keys and values in the cache.- Since:
- 9.2
-
-
Field Summary
Fields Modifier and Type Field Description static ElementDefinition
ELEMENT_DEFINITION
-
Constructor Summary
Constructors Constructor Description EncodingConfiguration(ContentTypeConfiguration keyDataType, ContentTypeConfiguration valueDataType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ElementDefinition
getElementDefinition()
int
hashCode()
ContentTypeConfiguration
keyDataType()
java.util.List<ConfigurationInfo>
subElements()
java.lang.String
toString()
ContentTypeConfiguration
valueDataType()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.configuration.BaseConfigurationInfo
attributes
-
-
-
-
Field Detail
-
ELEMENT_DEFINITION
public static final ElementDefinition ELEMENT_DEFINITION
-
-
Constructor Detail
-
EncodingConfiguration
public EncodingConfiguration(ContentTypeConfiguration keyDataType, ContentTypeConfiguration valueDataType)
-
-
Method Detail
-
keyDataType
public ContentTypeConfiguration keyDataType()
-
valueDataType
public ContentTypeConfiguration valueDataType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
subElements
public java.util.List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Returns:
- the list of sub elements.
-
-