public class DirEntriesCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DirEntriesCache.Registration |
Constructor and Description |
---|
DirEntriesCache(com.github.benmanes.caffeine.cache.Cache<java.lang.String,ItemValue<DirEntry>> dirCache) |
DirEntriesCache(java.lang.String domainUid,
com.github.benmanes.caffeine.cache.Cache<java.lang.String,ItemValue<DirEntry>> dirCache) |
Modifier and Type | Method and Description |
---|---|
void |
cache(ItemValue<DirEntry> item) |
static DirEntriesCache |
get(BmContext context,
java.lang.String domainUid) |
ItemValue<DirEntry> |
get(java.lang.String uid,
java.util.function.Supplier<ItemValue<DirEntry>> de) |
void |
invalidate(java.lang.String uid) |
void |
invalidateAll() |
public DirEntriesCache(com.github.benmanes.caffeine.cache.Cache<java.lang.String,ItemValue<DirEntry>> dirCache)
public static DirEntriesCache get(BmContext context, java.lang.String domainUid)
public ItemValue<DirEntry> get(java.lang.String uid, java.util.function.Supplier<ItemValue<DirEntry>> de)
public void invalidate(java.lang.String uid)
public void invalidateAll()
Copyright © 2021. All Rights Reserved.