Sha256: f2b91dde608c2fd3782ff109f67810131714b7c5a12b9255a722280d7cb4164f

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

class LruRedux::ThreadSafeCache
  def getset(key, &block)
    synchronize do
      super(key, &block)
    end
  end

  def fetch(key, &block)
    synchronize do
      super(key, &block)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lru_redux-0.8.4 lib/lru_redux/thread_safe_cache_jruby.rb