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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(ConfigurationWriter writer, CounterManagerConfiguration configuration) void
Serializes a single counter configurationvoid
-
Constructor Details
-
CounterConfigurationSerializer
public CounterConfigurationSerializer()
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceConfigurationSerializer<CounterManagerConfiguration>
-
serializeConfigurations
public void serializeConfigurations(OutputStream os, Collection<AbstractCounterConfiguration> configs) - Parameters:
os
- theOutputStream
to write to.configs
- theList
ifAbstractCounterConfiguration
.
-
serializeConfiguration
Serializes a single counter configuration- Parameters:
writer
-c
-
-