private CacheManager getCacheManager(Settings settings) {
        if (cacheManager == null) {
            // Initialize any bean mapper caches. These caches are only visible to the bean mapper instance and
            // are not shared across the VM.
            CacheManager cacheManager = new DefaultCacheManager();
            cacheManager.putCache(DozerCacheType.CONVERTER_BY_DEST_TYPE.name(), settings.getConverterByDestTypeCacheMaxSize());
            cacheManager.putCache(DozerCacheType.SUPER_TYPE_CHECK.name(), settings.getSuperTypesCacheMaxSize());

            return cacheManager;
        } else {
            return cacheManager;
        }
    }
Creates an instance of {@link Mapper}. Mapper is configured according to the current builder state.
<p>
Subsequent calls of this method will return new instances.

@return new instance of {@link Mapper}.
core/src/main/java/com/github/dozermapper/core/DozerBeanMapperBuilder.java