Class Parser
java.lang.Object
org.infinispan.configuration.parsing.CacheParser
org.infinispan.configuration.parsing.Parser
- All Implemented Interfaces:
ConfigurationParser
This class implements the parser for Infinispan/AS7/EAP/JDG schema files
- Since:
- 9.0
- Author:
- Tristan Tarrant, Galder ZamarreƱo
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.configuration.parsing.CacheParser
CacheParser.Mode, CacheParser.TransactionMode
-
Field Summary
Fields inherited from class org.infinispan.configuration.parsing.CacheParser
ALLOWED_DUPLICATES, IGNORE_DUPLICATES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parseBoundedQueueThreadPool
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean isNonBlocking) static void
parseStoreAttribute
(ConfigurationReader reader, int index, AbstractStoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.static void
parseStoreElement
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.static void
parseStoreProperty
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.static void
parseStoreWriteBehind
(ConfigurationReader reader, AsyncStoreConfigurationBuilder<?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.void
readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) The entry point of a configuration parser which gets passed aConfigurationReader
positioned at a root element associated with the parser itself according to the registered mapping.Methods inherited from class org.infinispan.configuration.parsing.CacheParser
parseCacheElement, parseDistributedCache, parseFileStore, parseInvalidationCache, parseLocalCache, parseProperties, parseProperties, parseProperties, parseReplicatedCache, parseScatteredCache, parseSingleFileStore, parseStoreProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.configuration.parsing.ConfigurationParser
readAttribute
-
Field Details
-
NAMESPACE
- See Also:
-
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
readElement
Description copied from interface:ConfigurationParser
The entry point of a configuration parser which gets passed aConfigurationReader
positioned at a root element associated with the parser itself according to the registered mapping.- Specified by:
readElement
in interfaceConfigurationParser
- Overrides:
readElement
in classCacheParser
- Parameters:
reader
- the configuration stream readerholder
- a holder object used by the parser to maintain state
-
parseBoundedQueueThreadPool
public void parseBoundedQueueThreadPool(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean isNonBlocking) -
parseStoreAttribute
@Deprecated(forRemoval=true) public static void parseStoreAttribute(ConfigurationReader reader, int index, AbstractStoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
parseStoreElement
@Deprecated(forRemoval=true) public static void parseStoreElement(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
parseStoreWriteBehind
@Deprecated(forRemoval=true) public static void parseStoreWriteBehind(ConfigurationReader reader, AsyncStoreConfigurationBuilder<?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
parseStoreProperty
@Deprecated(forRemoval=true) public static void parseStoreProperty(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version. -
getNamespaces
- Specified by:
getNamespaces
in interfaceConfigurationParser
- Overrides:
getNamespaces
in classCacheParser
-
CacheParser.parseStoreAttribute(ConfigurationReader, int, AbstractStoreConfigurationBuilder)