ExpiringLRUCacheImpl.java


current inspection = 2009-09-04 18:33:31 (id #2) base = 2009-09-04 18:33:31 (id #1)

Filter Options
History:
+ added
- dropped
U unchanged
Annotation Kind:
pre
presumption
post
unanalyzed
test


  • + Object get(String)

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(this.hits)2009-09-04 18:33:31
    +pre(soft) init'ed(this.misses)2009-09-04 18:33:31
    +pre(soft) init'ed(this.removes)2009-09-04 18:33:31
    +pre(soft) log != null2009-09-04 18:33:31
    +prethis.cache != null2009-09-04 18:33:31
    +post(soft) init'ed(this.hits)2009-09-04 18:33:31
    +post(soft) init'ed(this.removes)2009-09-04 18:33:31
    +postinit'ed(return_value)2009-09-04 18:33:31
    +postinit'ed(this.misses)2009-09-04 18:33:31
    +postthis.hits == One-of{old this.hits, old this.hits + 1, One-of{old this.hits, old this.hits + 1} - 1}2009-09-04 18:33:31
    +postthis.misses == One-of{old this.misses + 1, old this.misses}2009-09-04 18:33:31
    +postthis.removes == One-of{old this.removes, old this.removes + 1}2009-09-04 18:33:31
    +unanalyzedcall on java.lang.System:currentTimeMillis2009-09-04 18:33:31
    +unanalyzedcall on java.util.Map:get2009-09-04 18:33:31
    +unanalyzedcall on java.util.Map:remove2009-09-04 18:33:31
    +test_vectorjava.util.Map:get(...)@82: Addr_Set{null}, Inverse{null}2009-09-04 18:33:31

  • + void org.apache.roller.weblogger.util.cache.ExpiringLRUCacheImpl(String)

  • -/+ Kind Annotation Text Date
    +postinit'ed(this.cache)2009-09-04 18:33:31
    +postinit'ed(this.id)2009-09-04 18:33:31
    +postnew Date(LRUCacheImpl#1) num objects == 12009-09-04 18:33:31
    +postthis.hits == +02009-09-04 18:33:31
    +postthis.id == id2009-09-04 18:33:31
    +postthis.misses == +02009-09-04 18:33:31
    +postthis.puts == +02009-09-04 18:33:31
    +postthis.removes == +02009-09-04 18:33:31
    +postthis.startTime == &new Date(LRUCacheImpl#1)2009-09-04 18:33:31
    +postthis.timeout == 3_600_0002009-09-04 18:33:31
    +unanalyzedcall on java.util.Collections:synchronizedMap2009-09-04 18:33:31
    +unanalyzedcall on java.util.Date2009-09-04 18:33:31
    +unanalyzedcall on java.util.LinkedHashMap2009-09-04 18:33:31

  • + void org.apache.roller.weblogger.util.cache.ExpiringLRUCacheImpl(String, int, long)

  • -/+ Kind Annotation Text Date
    +premaxsize in -1_610_612_737..3_221_225_4712009-09-04 18:33:31
    +pretimeout <= 18_446_744_073_709_5512009-09-04 18:33:31
    +postinit'ed(this.cache)2009-09-04 18:33:31
    +postinit'ed(this.id)2009-09-04 18:33:31
    +postnew Date(LRUCacheImpl#1) num objects == 12009-09-04 18:33:31
    +postthis.hits == +02009-09-04 18:33:31
    +postthis.id == id2009-09-04 18:33:31
    +postthis.misses == +02009-09-04 18:33:31
    +postthis.puts == +02009-09-04 18:33:31
    +postthis.removes == +02009-09-04 18:33:31
    +postthis.startTime == &new Date(LRUCacheImpl#1)2009-09-04 18:33:31
    +postthis.timeout == One-of{0, timeout*1_000}2009-09-04 18:33:31
    +postthis.timeout in {0, 1_000..18_446_744_073_709_551_0 00}2009-09-04 18:33:31
    +unanalyzedcall on java.util.Collections:synchronizedMap2009-09-04 18:33:31
    +unanalyzedcall on java.util.Date2009-09-04 18:33:31
    +unanalyzedcall on java.util.LinkedHashMap2009-09-04 18:33:31
    +test_vectortimeout: {-263..0}, {1..18_446_744_073_709_551}2009-09-04 18:33:31

  • + org.apache.roller.weblogger.util.cache.ExpiringLRUCacheImpl__static_init

  • -/+ Kind Annotation Text Date
    +postinit'ed(log)2009-09-04 18:33:31

  • + void put(String, Object)

  • -/+ Kind Annotation Text Date
    +preinit'ed(this.puts)2009-09-04 18:33:31
    +preinit'ed(this.timeout)2009-09-04 18:33:31
    +prethis.cache != null2009-09-04 18:33:31
    +postinit'ed(this.puts)2009-09-04 18:33:31
    +postthis.puts == old this.puts + 12009-09-04 18:33:31
    +unanalyzedcall on java.lang.System:currentTimeMillis2009-09-04 18:33:31
    +unanalyzedcall on java.util.Map:put2009-09-04 18:33:31