public class AclCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AclCache.Registration |
Constructor and Description |
---|
AclCache(com.google.common.cache.Cache<java.lang.String,java.util.List<AccessControlEntry>> c) |
Modifier and Type | Method and Description |
---|---|
static AclCache |
get(BmContext context) |
java.util.List<AccessControlEntry> |
getIfPresent(java.lang.String uid) |
void |
invalidate(java.lang.String uid) |
void |
put(java.lang.String uid,
java.util.List<AccessControlEntry> c) |
public AclCache(com.google.common.cache.Cache<java.lang.String,java.util.List<AccessControlEntry>> c)
public java.util.List<AccessControlEntry> getIfPresent(java.lang.String uid)
public void put(java.lang.String uid, java.util.List<AccessControlEntry> c)
public void invalidate(java.lang.String uid)
Copyright © 2021. All Rights Reserved.