public class DomainSettingsCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DomainSettingsCache.Registration |
Constructor and Description |
---|
DomainSettingsCache(com.github.benmanes.caffeine.cache.Cache<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> cache) |
Modifier and Type | Method and Description |
---|---|
static DomainSettingsCache |
get(BmContext context) |
java.util.Map<java.lang.String,java.lang.String> |
getIfPresent(java.lang.String uid) |
void |
invalidate(java.lang.String uid) |
void |
invalidateAll() |
void |
put(java.lang.String uid,
java.util.Map<java.lang.String,java.lang.String> settings) |
public DomainSettingsCache(com.github.benmanes.caffeine.cache.Cache<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> cache)
public static DomainSettingsCache get(BmContext context)
public java.util.Map<java.lang.String,java.lang.String> getIfPresent(java.lang.String uid)
public void put(java.lang.String uid, java.util.Map<java.lang.String,java.lang.String> settings)
public void invalidate(java.lang.String uid)
public void invalidateAll()
Copyright © 2021. All Rights Reserved.