public @ Nullable < K , V > CacheProxy < K , V > tryToCreateFromExternalSettings ( String cacheName ) { Optional < CaffeineConfiguration < K , V > > configuration = TypesafeConfigurator . from ( rootConfig , cacheName ) ; return configuration . isPresent ( ) ? createCache ( cacheName , configuration . get ( ) ) : null ; }
Returns a newly created cache instance if a definition is found in the external settings file .