1 12 13 package org.ejtools.jmx.browser.model.service; 14 15 16 17 import java.io.Serializable ; 18 19 import java.util.Enumeration ; 20 21 22 23 38 39 public interface CacheService extends Serializable 40 41 { 42 43 44 45 public final int DOMAIN_TYPE = 0; 46 47 48 49 public final int RESOURCE_TYPE = 1; 50 51 52 53 54 55 68 69 public void add(int type, Object key, Object value); 70 71 72 73 74 75 86 87 public void remove(int type, Object key); 88 89 90 91 92 93 104 105 public Enumeration keys(int type); 106 107 108 109 110 111 112 113 public void clear(); 114 115 116 117 118 119 132 133 public Object get(int type, Object key); 134 135 } 136 137 | Popular Tags |