com.netflix.archaius.instrumentation.PropertiesInstrumentationData Maven / Gradle / Ivy
The newest version!
package com.netflix.archaius.instrumentation;
import java.util.HashMap;
import java.util.Map;
/** Instrumentation data snapshot for usages captured since the last flush. */
public class PropertiesInstrumentationData {
private final Map idToUsageDataMap;
private final Map scopes;
public PropertiesInstrumentationData(Map idToUsageDataMap) {
this(idToUsageDataMap, new HashMap<>());
}
public PropertiesInstrumentationData(Map idToUsageDataMap, Map scopes) {
this.idToUsageDataMap = idToUsageDataMap;
this.scopes = scopes;
}
public Map getIdToUsageDataMap() {
return idToUsageDataMap;
}
public Map getScopes() {
return scopes;
}
}