Interface SyncCaches
public interface SyncCaches
- Since:
- 14.0
-
Method Summary
Modifier and TypeMethodDescription<K,V> SyncCache <K, V> Creates a cache using the supplied template name<K,V> SyncCache <K, V> create(String name, CacheConfiguration cacheConfiguration) voidcreateTemplate(String name, CacheConfiguration cacheConfiguration) Creates a cache template<K,V> SyncCache <K, V> Obtains an existing cachenames()Retrieves the names of all available cachesvoidRemoves a cachevoidremoveTemplate(String name) Removes a cache templateReturns the names of all available templates
-
Method Details
-
get
-
create
- Type Parameters:
K- the type of the keyV- the type of the value- Parameters:
name- the name of the cachecacheConfiguration-- Returns:
-
create
-
remove
-
names
-
createTemplate
Creates a cache template- Parameters:
name- the name of the templatecacheConfiguration- the configuration of the template
-
removeTemplate
Removes a cache template- Parameters:
name- the name of the template to be removed
-
templateNames
-