Package com.attivio.util.serialization
Class ConcurrentConverterLookup
- java.lang.Object
-
- com.attivio.util.serialization.ConcurrentConverterLookup
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterLookup
,com.thoughtworks.xstream.converters.ConverterRegistry
public class ConcurrentConverterLookup extends java.lang.Object implements com.thoughtworks.xstream.converters.ConverterLookup, com.thoughtworks.xstream.converters.ConverterRegistry
Same as the DefaultCOnverterLookup from XStream except it uses a COncurrentHashMap for better multi threaded performance.
-
-
Constructor Summary
Constructors Constructor Description ConcurrentConverterLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.thoughtworks.xstream.converters.Converter
lookupConverterForType(java.lang.Class type)
void
registerConverter(com.thoughtworks.xstream.converters.Converter converter, int priority)
-
-
-
Method Detail
-
lookupConverterForType
public com.thoughtworks.xstream.converters.Converter lookupConverterForType(java.lang.Class type)
- Specified by:
lookupConverterForType
in interfacecom.thoughtworks.xstream.converters.ConverterLookup
-
registerConverter
public void registerConverter(com.thoughtworks.xstream.converters.Converter converter, int priority)
- Specified by:
registerConverter
in interfacecom.thoughtworks.xstream.converters.ConverterRegistry
-
-