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

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

				pDel = this._callInstanceMethod("del", arguments).then(function callInstanceHandler() {
					Log.debug("Cache Manager: del completed successfully.");
					oMsr.endAsync();
					//nothing to return, just logging.
				}, function (e) {
					Log.debug("Cache Manager: del failed. Error: " + e);
					oMsr.endAsync();
					throw e;
				});
				oMsr.endSync();
				return pDel;
			}
function ( key ) { var pDel , oMsr = startMeasurements ( "del" , key ) ; Log . debug ( "Cache Manager: del called." ) ; pDel = this . _callInstanceMethod ( "del" , arguments ) . then ( function callInstanceHandler ( ) { Log . debug ( "Cache Manager: del completed successfully." ) ; oMsr . endAsync ( ) ; //nothing to return, just logging. } , function ( e ) { Log . debug ( "Cache Manager: del failed. Error: " + e ) ; oMsr . endAsync ( ) ; throw e ; } ) ; oMsr . endSync ( ) ; return pDel ; }
Deletes entry with given key.
@param {string|number} key the key to delete an entry for. Null is not accepted.
@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
Deletes entry with given key .