1 package org.objectweb.celtix; 2 3 import java.util.*; 4 5 6 12 public interface BusEventCache { 13 19 void addEvent(BusEvent e); 20 21 22 26 List<BusEvent> flushEvents(); 27 28 29 34 List<BusEvent> flushEvents(String eventID); 35 36 37 42 List<BusEvent> flushEvents(Class <?> eventClass); 43 44 49 List<BusEvent> getEvents(); 50 51 52 58 List<BusEvent> getEvents(String eventID); 59 60 61 66 void setCacheSize(int size); 67 } 68 | Popular Tags |