public static Single < Boolean > remove ( CacheConfigBean cacheConfigBean , String cacheKey ) { return SingleRxXian . call ( CacheService . CACHE_SERVICE , "cacheObjectRemove" , new JSONObject ( ) { { put ( "cacheConfig" , cacheConfigBean ) ; put ( "key" , cacheKey ) ; } } ) . map ( unitResponseObject -> { unitResponseObject . throwExceptionIfNotSuccess ( ) ; return unitResponseObject . succeeded ( ) ; } ) ; }
remove the cached object .