1 22 package org.jboss.ejb; 23 24 import java.rmi.RemoteException ; 25 import java.rmi.NoSuchObjectException ; 26 27 34 public interface InstanceCache 35 extends ContainerPlugin 36 { 37 54 EnterpriseContext get(Object id) 55 throws RemoteException , NoSuchObjectException ; 56 57 66 void insert(EnterpriseContext ctx); 67 68 78 void release(EnterpriseContext ctx); 79 80 88 void remove(Object id); 89 90 97 boolean isActive(Object id); 98 99 103 long getCacheSize(); 104 107 void flush(); 108 } 109 | Popular Tags |