search

goog.labs.storage.BoundedCollectableStorage

Provided By
Extends

Provides a storage with bounded number of elements, expiring keys and a collection method.

new BoundedCollectableStorage( mechanism, maxItems )

Parameters
mechanismgoog.storage.mechanism.IterableMechanism

The underlying storage mechanism.

maxItemsnumber

Maximum number of items in storage.

Instance Methods

Instance Properties