public class DeletedDataMementos extends CacheHolder<java.lang.String,java.util.Optional<Subtree>>
Modifier and Type | Class and Description |
---|---|
static class |
DeletedDataMementos.Registration |
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
cache
Constructor and Description |
---|
DeletedDataMementos(com.github.benmanes.caffeine.cache.Cache<java.lang.String,java.util.Optional<Subtree>> cache) |
Modifier and Type | Method and Description |
---|---|
static Subtree |
cachedSubtree(BmContext context,
java.lang.String domainUid,
MailboxReplicaRootDescriptor mailboxRoot) |
static void |
forgetDeletion(BmContext ctx,
java.lang.String domainUid,
Mailbox box) |
static DeletedDataMementos |
get(BmContext context) |
static void |
preDelete(BmContext ctx,
java.lang.String domainUid,
ItemValue<Mailbox> mbox) |
getIfPresent, invalidate, of, put, toString
public DeletedDataMementos(com.github.benmanes.caffeine.cache.Cache<java.lang.String,java.util.Optional<Subtree>> cache)
public static DeletedDataMementos get(BmContext context)
public static void forgetDeletion(BmContext ctx, java.lang.String domainUid, Mailbox box)
public static void preDelete(BmContext ctx, java.lang.String domainUid, ItemValue<Mailbox> mbox)
public static Subtree cachedSubtree(BmContext context, java.lang.String domainUid, MailboxReplicaRootDescriptor mailboxRoot)
Copyright © 2021. All Rights Reserved.