void restoreDynacacheProviderDefaults ( ) { // restore commonConfig to Dynacache defaults if ( restoreDynacacheDefaults ) { if ( cacheProviderName != CacheConfig . CACHE_PROVIDER_DYNACACHE ) { cacheProviderName = CacheConfig . CACHE_PROVIDER_DYNACACHE ; enableCacheReplication = false ; if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "OVERRIDING Object Grid default for " + cacheName ) ; } } } }
This method reverts the common configuration template for all cache instances to use Dynaache defaults . This method only comes into play when ObjectGrid is configured as the cache provider for the default cache .