| Class | TaskJuggler::DataCacheEntry |
| In: |
lib/taskjuggler/DataCache.rb
|
| Parent: | Object |
| hits | [RW] | |
| unhashedKey | [R] |
Create a new DataCacheEntry for the value. We also store the unhashed key to be able to detect hash collisions. The access counter is set to 1 to increase the chance that it is not flushed immedidate.
# File lib/taskjuggler/DataCache.rb, line 29 def initialize(unhashedKey, value) @unhashedKey = unhashedKey @value = value @hits = 1 end