1 25 26 package org.objectweb.perseus.cache.replacement.lib; 27 28 import org.objectweb.perseus.cache.replacement.api.ReplaceableCacheEntry; 29 30 33 public class FIFOReplacementManager extends AbstractReplacementManager { 34 35 38 protected long date; 39 40 public FIFOReplacementManager() { 41 date = Long.MIN_VALUE; 42 } 43 44 protected void add(ReplaceableCacheEntry entry) { 45 entry.setCeAge(date++); 46 } 47 48 protected void touch(ReplaceableCacheEntry entry) { 49 } 51 } 52 | Popular Tags |