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