Class CounterConfigurationSerializer
- java.lang.Object
-
- org.infinispan.counter.configuration.CounterConfigurationSerializer
-
- All Implemented Interfaces:
ConfigurationSerializer<CounterManagerConfiguration>
public class CounterConfigurationSerializer extends Object implements ConfigurationSerializer<CounterManagerConfiguration>
Counters configuration serializer.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description CounterConfigurationSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(XMLExtendedStreamWriter writer, CounterManagerConfiguration configuration)
void
serializeConfigurations(OutputStream os, List<AbstractCounterConfiguration> configs)
-
-
-
Method Detail
-
serialize
public void serialize(XMLExtendedStreamWriter writer, CounterManagerConfiguration configuration) throws XMLStreamException
- Specified by:
serialize
in interfaceConfigurationSerializer<CounterManagerConfiguration>
- Throws:
XMLStreamException
-
serializeConfigurations
public void serializeConfigurations(OutputStream os, List<AbstractCounterConfiguration> configs) throws XMLStreamException
- Parameters:
os
- theOutputStream
to write to.configs
- theList
ifAbstractCounterConfiguration
.- Throws:
XMLStreamException
- if xml is malformed
-
-