@Test public void testCost() throws Exception { Cache cache = getTestCache(); CacheEntry entry = new JCacheEntry(new Element("key1", "value1")); assertEquals(0L, entry.getCost()); }
public long getCost() { return 0; }
JCacheEntry implements CacheEntry { public long getCost() { return 0; } }
JCacheEntry implements CacheEntry { public long getCost() { return 0; } JCacheEntry(Element element); }
JCacheEntry implements CacheEntry { public long getCost() { return 0; } JCacheEntry(Element element); Object getKey(); Object getValue(); Object setValue(Object value); long getCost(); long getCreationTime(); long getExpirationTime(); int getHits(); long getLastAccessTime(); long getLastUpdateTime(); long getVersion(); boolean isValid(); }
JCacheEntry implements CacheEntry { public long getCost() { return 0; } JCacheEntry(Element element); Object getKey(); Object getValue(); Object setValue(Object value); long getCost(); long getCreationTime(); long getExpirationTime(); int getHits(); long getLastAccessTime(); long getLastUpdateTime(); long getVersion(); boolean isValid();  }