org.jboss.cache.loader.rmi
Interface RemoteTreeCache

All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteTreeCacheImpl

public interface RemoteTreeCache
extends Remote

Remote interface to a TreeCache instance. Used by RmiDelegatingCacheLoader.

Version:
$Id: RemoteTreeCache.java,v 1.1.2.1 2005/04/04 05:44:21 bwang00 Exp $
Author:
Daniel Gredler

Method Summary
 boolean exists(Fqn name)
           
 Node get(Fqn name)
           
 Object get(Fqn name, Object key)
           
 Set getChildrenNames(Fqn fqn)
           
 byte[] getState()
           
 void put(Fqn name, Map attributes)
           
 Object put(Fqn name, Object key, Object value)
           
 void remove(Fqn name)
           
 Object remove(Fqn name, Object key)
           
 void removeData(Fqn name)
           
 void setState(byte[] state)
           
 

Method Detail

getChildrenNames

public Set getChildrenNames(Fqn fqn)
                     throws Exception,
                            RemoteException
Throws:
Exception
RemoteException

get

public Object get(Fqn name,
                  Object key)
           throws Exception,
                  RemoteException
Throws:
Exception
RemoteException

get

public Node get(Fqn name)
         throws Exception,
                RemoteException
Throws:
Exception
RemoteException

exists

public boolean exists(Fqn name)
               throws Exception,
                      RemoteException
Throws:
Exception
RemoteException

put

public Object put(Fqn name,
                  Object key,
                  Object value)
           throws Exception,
                  RemoteException
Throws:
Exception
RemoteException

put

public void put(Fqn name,
                Map attributes)
         throws Exception,
                RemoteException
Throws:
Exception
RemoteException

remove

public Object remove(Fqn name,
                     Object key)
              throws Exception,
                     RemoteException
Throws:
Exception
RemoteException

remove

public void remove(Fqn name)
            throws Exception,
                   RemoteException
Throws:
Exception
RemoteException

removeData

public void removeData(Fqn name)
                throws Exception,
                       RemoteException
Throws:
Exception
RemoteException

getState

public byte[] getState()
                throws Exception,
                       RemoteException
Throws:
Exception
RemoteException

setState

public void setState(byte[] state)
              throws Exception,
                     RemoteException
Throws:
Exception
RemoteException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.