anchor.diff:            data
            }).
   
  +-record(mc_state, {cas=0, store=dict:new()}).
  +
   start_link() ->
       gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
   
  
positive.code: % GET operation
  handle_call({?GET, <<>>, Key, <<>>, _CAS}, _From, State) ->
      error_logger:info_msg("Got GET command for ~p.~n", [Key]),
      case dict:find(Key, State) of
          {ok, Item} ->
              Flags = Item#cached_item.flags,
              {reply, {0, <<Flags:32>>, <<>>, Item#cached_item.data, 0},
  
negative.code: % Immediate flush
  handle_call({?FLUSH, <<0:32>>, <<>>, <<>>, _CAS}, _From, _State) ->
      error_logger:info_msg("Got immediate flush command.~n", []),
      {reply, {0, <<>>, <<>>, <<>>, 0}, #mc_state{}};
  % Delayed flush
  handle_call({?FLUSH, <<Delay:32>>, <<>>, <<>>, _CAS}, _From, State) ->
      error_logger:info_msg("Got flush command delayed for ~p.~n", [Delay]),
  