1 7 package org.jboss.cache.eviction; 8 9 import org.jboss.cache.Fqn; 10 11 import java.util.Iterator ; 12 13 14 23 public interface EvictionQueue 24 { 25 34 public NodeEntry getFirstNodeEntry(); 35 36 44 public NodeEntry getNodeEntry(Fqn fqn); 45 46 public NodeEntry getNodeEntry(String fqn); 47 48 54 public boolean containsNodeEntry(NodeEntry entry); 55 56 63 public void removeNodeEntry(NodeEntry entry); 64 65 70 public void addNodeEntry(NodeEntry entry); 71 72 77 public int getNumberOfNodes(); 78 79 84 public int getNumberOfElements(); 85 86 public void modifyElementCount(int difference); 87 88 public Iterator iterate(); 89 90 93 public void clear(); 94 95 } 96 | Popular Tags |