Class CounterParser
java.lang.Object
org.infinispan.counter.configuration.CounterParser
- All Implemented Interfaces:
ConfigurationParser
- Direct Known Subclasses:
CounterConfigurationParser
Counters configuration parser
- Since:
- 9.0
- Author:
- Pedro Ruivo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadElement(ConfigurationReader reader, ConfigurationBuilderHolder holder) The entry point of a configuration parser which gets passed aConfigurationReaderpositioned at a root element associated with the parser itself according to the registered mapping.voidreadElement(ConfigurationReader reader, CounterManagerConfigurationBuilder builder, Element element, String name) Reads an element from the configuration.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationParser
readAttribute
-
Constructor Details
-
CounterParser
public CounterParser()
-
-
Method Details
-
readElement
Description copied from interface:ConfigurationParserThe entry point of a configuration parser which gets passed aConfigurationReaderpositioned at a root element associated with the parser itself according to the registered mapping.- Specified by:
readElementin interfaceConfigurationParser- Parameters:
reader- the configuration stream readerholder- a holder object used by the parser to maintain state
-
readElement
public void readElement(ConfigurationReader reader, CounterManagerConfigurationBuilder builder, Element element, String name) Reads an element from the configuration.- Parameters:
reader- The configuration reader.builder- The counter manager configuration builder.element- The element to read.name- The name of the counter.
-
getNamespaces
- Specified by:
getNamespacesin interfaceConfigurationParser
-