public static Single < Object > luaScript ( CacheConfigBean cacheConfigBean , String scripts , int keyCount , List < String > params ) { return SingleRxXian . call ( CacheService . CACHE_SERVICE , "cacheLua" , new JSONObject ( ) { { put ( "cacheConfig" , cacheConfigBean ) ; put ( "scripts" , scripts ) ; put ( "keyCount" , keyCount ) ; put ( "params" , params ) ; } } ) . map ( unitResponseObject -> { unitResponseObject . throwExceptionIfNotSuccess ( ) ; if ( unitResponseObject . getData ( ) == null ) return null ; return unitResponseObject . getData ( ) ; } ) ; }
execute the specified script .