Package dev.gmitch215.bytebox.cache
Class Caches
java.lang.Object
dev.gmitch215.bytebox.cache.Caches
The Workers cache storage, the
caches global. Needs no binding.
Cache shared = Caches.defaultCache();
Cache mine = Caches.open("thumbnails");
- Since:
- 1.0.3
-
Method Details
-
defaultCache
Returns the cache every Worker on the zone shares,caches.default.- Returns:
- the cache every Worker on the zone shares,
caches.default
-
open
Opens a named cache, which is separate from the default one and from the other names.- Parameters:
name- the cache name- Returns:
- the cache
-