java.lang.Object
com.gluonhq.attach.cache.impl.DefaultCacheService
- All Implemented Interfaces:
CacheService
- Direct Known Subclasses:
AndroidCacheService,DesktopCacheService,IOSCacheService
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCacheService
public DefaultCacheService()
-
-
Method Details
-
getCache
Description copied from interface:CacheServiceReturns aCacheinstance. The name is used to allow for multiple cache instances to be created, with the name being a unique identifier, returning the same cache every time when given the same name.- Specified by:
getCachein interfaceCacheService- Type Parameters:
K- The key type for the cacheV- The value type for the cache- Parameters:
cacheName- The name of the cache.- Returns:
- A named
Cacheinstance.
-