@Test public void cleanCacheReference() { fillCache(); assertNotNull(getCacheEntry(false)); this.groupsCache.cleanCache(USER); assertNull(getCacheEntry(false)); fillCache(); assertNotNull(getCacheEntry(false)); this.groupsCache.cleanCache(GROUP1); assertNull(getCacheEntry(false)); fillCache(); assertNotNull(getCacheEntry(false)); this.groupsCache.cleanCache(GROUP2); assertNull(getCacheEntry(false)); }
public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } GroupsCache(); }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } GroupsCache(); GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create); }
GroupsCache extends AbstractGroupCache { public GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create) { String key = toKey(reference, wikis); return getCacheEntry(key, reference, create); } GroupsCache(); GroupCacheEntry getCacheEntry(DocumentReference reference, Collection<String> wikis, boolean create);  }