public static < T > Single < Boolean > put ( CacheConfigBean cacheConfigBean , String key , String field , T value ) { return SingleRxXian . call ( CacheService . CACHE_SERVICE , "cacheMapPut" , new JSONObject ( ) { { put ( "cacheConfig" , cacheConfigBean ) ; put ( "key" , key ) ; put ( "field" , field ) ; put ( "value" , value ) ; } } ) . map ( unitResponse -> { unitResponse . throwExceptionIfNotSuccess ( ) ; return unitResponse . succeeded ( ) ; } ) ; }
cache map put