clearCache

Clears the instance cache.

Useful for testing or when you need to force recreation of KMS instances. Note: Existing cached instances will not be closed - callers are responsible for managing lifecycle of KMS instances. Use shutdown to properly close all cached instances.

Throws

if called from a provider's creation callback