public interface CacheImplementation<K,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(K key)
Deprecated.
|
void |
flushAll(boolean propagate) |
void |
flushGroup(String groupName) |
V |
get(K key) |
Set<GroupCacheKey> |
getGroupKeys(String groupName) |
long |
getGroupsKeysTotal()
Get the total number of keys in all the groups of this cache.
|
long |
getGroupsSize()
Get the number of groups for this cache.
|
Collection<K> |
getKeys() |
String |
getName() |
boolean |
isEmpty() |
void |
put(K key,
String[] groups,
V value)
Puts an entry in the cache, using optional groups
|
void |
remove(K key) |
void |
setName(String name) |
int |
size() |
@Deprecated boolean containsKey(K key)
void put(K key, String[] groups, V value)
key - groups - the groups this entry should be part of, or null if it's part of no group.value - boolean isEmpty()
int size()
Collection<K> getKeys()
long getGroupsSize()
long getGroupsKeysTotal()
void flushAll(boolean propagate)
void flushGroup(String groupName)
void remove(K key)
String getName()
void setName(String name)
Set<GroupCacheKey> getGroupKeys(String groupName)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.