1 7 package org.jboss.cache.loader.rmi; 8 9 import org.jboss.cache.Fqn; 10 import org.jboss.cache.Node; 11 12 import java.rmi.Remote ; 13 import java.rmi.RemoteException ; 14 import java.util.Map ; 15 import java.util.Set ; 16 17 24 public interface RemoteTreeCache extends Remote 25 { 26 public Set getChildrenNames(Fqn fqn) throws Exception , RemoteException ; 27 28 public Object get(Fqn name, Object key) throws Exception , RemoteException ; 29 30 public Node get(Fqn name) throws Exception , RemoteException ; 31 32 public boolean exists(Fqn name) throws Exception , RemoteException ; 33 34 public Object put(Fqn name, Object key, Object value) throws Exception , RemoteException ; 35 36 public void put(Fqn name, Map attributes) throws Exception , RemoteException ; 37 39 public Object remove(Fqn name, Object key) throws Exception , RemoteException ; 40 41 public void remove(Fqn name) throws Exception , RemoteException ; 42 43 public void removeData(Fqn name) throws Exception , RemoteException ; 44 } 45 | Popular Tags |