method

synchronize

synchronize(&block)
public

Synchronize calls to the cache. This should be called wherever the underlying cache implementation is not thread safe.