Module: SynCache
- Defined in:
- lib/syncache/syncache.rb,
lib/syncache/remote.rb
Overview
SynCache: thread-safe time-limited cache with flexible replacement policy (originally written for Samizdat project)
Copyright (c) 2002-2011 Dmitry Borodaenko <[email protected]>
This program is free software.
You can distribute/modify this program under the terms of
the GNU General Public License version 3 or later.
vim: et sw=2 sts=2 ts=8 tw=0
Defined Under Namespace
Classes: Cache, CacheEntry, CacheError, Placeholder, RemoteCache
Constant Summary collapse
- REMOTE_TIMEOUT =
5 minutes
60 * 5
- REMOTE_FIRST_DELAY =
100 ms
0.1
- FOREVER =
5 years
60 * 60 * 24 * 365 * 5