com.ibm.fhir.persistence.jdbc.cache.IdNameCache Maven / Gradle / Ivy
/*
* (C) Copyright IBM Corp. 2021
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.persistence.jdbc.cache;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import com.ibm.fhir.persistence.jdbc.dao.api.IIdNameCache;
/**
* @param the type of the key value held by the cache
*/
public class IdNameCache implements IIdNameCache {
// The local cache
private final ThreadLocal