wt.fv
Class StandardFvService.ActiveFolderCache

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended bywt.util.RMIServer
              extended bywt.cache.CacheManager
                  extended bywt.fv.StandardFvService.ActiveFolderCache
All Implemented Interfaces:
CacheServer, Remote, Serializable, Unreferenced
Enclosing class:
StandardFvService

public static class StandardFvService.ActiveFolderCache
extends CacheManager

ActiveFolderCache maintains two mappings, vault-to-folder and folder-to-vault (we could have maintain only one mapping but CacheManager doesn't provide API to get a list of values without giving a key, so if we have only the vault-to-folder mapping, then given a folder, we have no way to find the corresponding vault, hence the extra mapping).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class wt.cache.CacheManager
MASTER
 
Fields inherited from class wt.util.RMIServer
csf, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface wt.cache.CacheServer
versionID
 
Constructor Summary
StandardFvService.ActiveFolderCache()
           
 
Method Summary
 FileFolder getActiveFolder(Vault v)
           
 Vault getVault(FileFolder f)
           
 void putActiveFolder(Vault v, FileFolder f)
           
 void removeActiveFolder(FileFolder f)
           
 
Methods inherited from class wt.cache.CacheManager
checkAccess, get, getDefaultName, getDefaultSize, getEntry, isCacheHost, overflow, ping, put, putEntry, putEntry, reference, registerSlave, remove, remove, removeEntry, removeEntry, reset, unreferenced, update, updateEntry, updateEntry
 
Methods inherited from class wt.util.RMIServer
clone, exportObject, exportObject, exportObject, getClientSocketFactory, getPort, getServerSocketFactory, getStub, isHostInList, isLocalHost, setPort, writeReplace
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardFvService.ActiveFolderCache

public StandardFvService.ActiveFolderCache()
                                    throws RemoteException
Method Detail

getActiveFolder

public FileFolder getActiveFolder(Vault v)

getVault

public Vault getVault(FileFolder f)

removeActiveFolder

public void removeActiveFolder(FileFolder f)

putActiveFolder

public void putActiveFolder(Vault v,
                            FileFolder f)