def load(data)
      @monitor.synchronize do
        data.each do |key, value|
          expire!
          store(key, val)
        end
      end
    end
def load(data)
      @monitor.synchronize do
        data.each do |key, value|
          expire!
          store(key, val)
        end
      end
    end
Initializes the cache.

 @param [Hash] opts
   The options to configure the cache.

 @option opts [Integer] :max_entries
   Maximum number of elements in the cache.

 @option opts [Numeric] :ttl
   Maximum time, in seconds, for a value to stay in the cache.

 @option opts [Numeric] :tti
   Maximum time, in seconds, for a value to stay in the cache without
   being accessed.

 @option opts [Integer] :interval
   Number of cache operations between calls to {#expire!}.

 Loads a hash of data into the stash.

 @param [Hash] data
   Hash of data with either String or Symbol keys.

 @return nothing.