disableCache

Disables the Factory cache. The function must be called before the cache is initialized (i.e., before any call to the of method) and should be called once.

Throws

When the cache was previously initialized or configured.