Class MapToConcurrentMapConverter
java.lang.Object
io.micronaut.cache.hazelcast.converters.MapToConcurrentMapConverter
- All Implemented Interfaces:
io.micronaut.core.convert.TypeConverter<Map,
ConcurrentMap>
@Singleton
public class MapToConcurrentMapConverter
extends Object
implements io.micronaut.core.convert.TypeConverter<Map,ConcurrentMap>
Converts a map to a concurrent map.
- Since:
- 1.0.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(Map object, Class<ConcurrentMap> targetType, io.micronaut.core.convert.ConversionContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.convert.TypeConverter
convert
-
Constructor Details
-
MapToConcurrentMapConverter
public MapToConcurrentMapConverter()
-
-
Method Details
-
convert
public Optional<ConcurrentMap> convert(Map object, Class<ConcurrentMap> targetType, io.micronaut.core.convert.ConversionContext context) - Specified by:
convert
in interfaceio.micronaut.core.convert.TypeConverter<Map,
ConcurrentMap>
-