src/sap.ui.core/src/sap/ui/core/cache/CacheManager.js
function () {
				var pReset, oMsr = startMeasurements("reset");
				Log.debug("Cache Manager: Reset called.");

				pReset = this._callInstanceMethod("reset", arguments).then(function callInstanceHandler() {
					Log.debug("Cache Manager: Reset completed successfully.");
					oMsr.endAsync();
					//nothing to return, just logging.
				}, function (e) {
					Log.debug("Cache Manager: Reset failed. Error: " + e);
					oMsr.endAsync();
					throw e;
				});
				oMsr.endSync();
				return pReset;
			}
function () {
				var pReset, oMsr = startMeasurements("reset");
				Log.debug("Cache Manager: Reset called.");

				pReset = this._callInstanceMethod("reset", arguments).then(function callInstanceHandler() {
					Log.debug("Cache Manager: Reset completed successfully.");
					oMsr.endAsync();
					//nothing to return, just logging.
				}, function (e) {
					Log.debug("Cache Manager: Reset failed. Error: " + e);
					oMsr.endAsync();
					throw e;
				});
				oMsr.endSync();
				return pReset;
			}
function ( ) { var pReset , oMsr = startMeasurements ( "reset" ) ; Log . debug ( "Cache Manager: Reset called." ) ; pReset = this . _callInstanceMethod ( "reset" , arguments ) . then ( function callInstanceHandler ( ) { Log . debug ( "Cache Manager: Reset completed successfully." ) ; oMsr . endAsync ( ) ; //nothing to return, just logging. } , function ( e ) { Log . debug ( "Cache Manager: Reset failed. Error: " + e ) ; oMsr . endAsync ( ) ; throw e ; } ) ; oMsr . endSync ( ) ; return pReset ; }
Clears all entries in the cache.
@returns {Promise} a promise that would be resolved in case of successful operation or rejected with
value of the error message if the operation fails.
@public
Clears all entries in the cache .