wt.fv
Class StandardFvService.ActiveFolderCache
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
wt.util.RMIServer
wt.cache.CacheManager
wt.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
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 |
StandardFvService.ActiveFolderCache
public StandardFvService.ActiveFolderCache()
throws RemoteException
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)