wt.intersvrcom
Class StandardInterSvrComService.SiteInfoCache

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

public static class StandardInterSvrComService.SiteInfoCache
extends CacheManager

See Also:
Serialized Form

Field Summary
private static String ALL_SITES_CACHE_KEY
           
private static String ALL_SITES_HASHTABLE_KEY
           
private static String ALL_SITESECURITY_HASHTABLE_KEY
           
private static String LOCAL_SITE_CACHE_KEY
           
 
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
StandardInterSvrComService.SiteInfoCache()
           
 
Method Summary
 void flushAllSites()
           
 QueryResult getAllSites()
           
 QueryResult getAllSiteSecurityObjects()
           
 Site getCachedSite(String url)
           
 SiteSecurity getCachedSiteSecurity(ObjectReference oRef)
           
 Site getLocalMaster()
           
 Boolean getTransportTypeByName(String siteName)
           
 Boolean getTransportTypeByUrl(String url)
           
 void initialize()
           
 void removeSiteSecurity(SiteSecurity ss)
           
 void setTransportTypeByName(String siteName, Boolean compress)
           
 void setTransportTypeByUrl(String url, Boolean compress)
           
 void upDateCachedSiteSecurity(SiteSecurity ss)
           
 
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
 

Field Detail

ALL_SITES_CACHE_KEY

private static final String ALL_SITES_CACHE_KEY
See Also:
Constant Field Values

ALL_SITES_HASHTABLE_KEY

private static final String ALL_SITES_HASHTABLE_KEY
See Also:
Constant Field Values

LOCAL_SITE_CACHE_KEY

private static final String LOCAL_SITE_CACHE_KEY
See Also:
Constant Field Values

ALL_SITESECURITY_HASHTABLE_KEY

private static final String ALL_SITESECURITY_HASHTABLE_KEY
See Also:
Constant Field Values
Constructor Detail

StandardInterSvrComService.SiteInfoCache

public StandardInterSvrComService.SiteInfoCache()
                                         throws RemoteException
Method Detail

removeSiteSecurity

public void removeSiteSecurity(SiteSecurity ss)

initialize

public void initialize()
                throws WTException
Throws:
WTException

flushAllSites

public void flushAllSites()

getAllSiteSecurityObjects

public QueryResult getAllSiteSecurityObjects()
                                      throws WTException
Throws:
WTException

getAllSites

public QueryResult getAllSites()
                        throws WTException
Throws:
WTException

getCachedSite

public Site getCachedSite(String url)
                   throws WTException
Throws:
WTException

getCachedSiteSecurity

public SiteSecurity getCachedSiteSecurity(ObjectReference oRef)
                                   throws WTException
Throws:
WTException

upDateCachedSiteSecurity

public void upDateCachedSiteSecurity(SiteSecurity ss)
                              throws WTException
Throws:
WTException

getTransportTypeByUrl

public Boolean getTransportTypeByUrl(String url)

getTransportTypeByName

public Boolean getTransportTypeByName(String siteName)

setTransportTypeByUrl

public void setTransportTypeByUrl(String url,
                                  Boolean compress)

setTransportTypeByName

public void setTransportTypeByName(String siteName,
                                   Boolean compress)

getLocalMaster

public Site getLocalMaster()
                    throws WTException
Throws:
WTException