anchor.diff:  %%%
   %%% @end
   %%%-----------------------------------------------------------------------------
  +
   -module(emqttd_stats).
   
   -author("Feng Lee <feng@emqtt.io>").
  
positive.code: 
  handle_call(_Request, _From, State) ->
      {reply, error, State}.
  
  handle_cast(_Msg, State) ->
      {noreply, State}.
  
negative.code: 
  %%------------------------------------------------------------------------------
  %% @doc Set stats with max
  %% @end
  %%------------------------------------------------------------------------------
  -spec setstats(Stat :: atom(), MaxStat :: atom(), Val :: pos_integer()) -> boolean().
  setstats(Stat, MaxStat, Val) ->
      gen_server:cast(?MODULE, {setstats, Stat, MaxStat, Val}).
  
  %%%=============================================================================
  %%% gen_server callbacks
  