class HashMapCacheService implements ICacheService {

    @Override
    public <K, V> ICache<K, V> getCache(final String cacheName) {
        HashMapCache<K, V> cache = caches.computeIfAbsent(cacheName, k -> new HashMapCache<>(useJavaSerialisation));

        return cache;
    }

}