com.yahoo.jdisc.refcount.DebugReferencesByContextMap Maven / Gradle / Ivy
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.refcount;
import com.yahoo.jdisc.ResourceReference;
import java.util.HashMap;
import java.util.Map;
/**
* Does reference counting by putting a unique key together with optional context in map
* Used if system property jdisc.debug.resources=simple/true
*
* @author baldersheim
*/
public class DebugReferencesByContextMap implements References {
private final Map