- java.lang.Object
-
- com.gluonhq.impl.charm.glisten.util.CachedFactory<T>
-
public class CachedFactory<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description CachedFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<T>
clearCache(String key)
boolean
containsKey(String key)
Optional<T>
get(String key)
void
put(String key, Supplier<T> supplier)
void
remove(String key)
Removes the mapping for the specified key from both factory and cache.
-