Abstract class for a capacity bounded strategy. Only up to capacity items are allowed to be stored in the cache at any time.
Methods
Attributes
| [RW] | capacity |
Public Class methods
new(capacity)
[ source ]
Public Instance methods
dec(item)
[ source ]
empty?()
[ source ]
full?()
[ source ]
inc(item)
[ source ]