wt.access
Class AclCache
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
wt.util.RMIServer
wt.cache.CacheManager
wt.access.AclCache
- All Implemented Interfaces:
- CacheServer, Remote, Serializable, Unreferenced
- public class AclCache
- extends CacheManager
This class implements an ACL cache service. It follows the 2-level cache paradigm.
Creation and updates to ACL must be communicated to the cache by the Access Control
manager.
- See Also:
- Serialized Form
Constructor Summary |
AclCache()
Contruct a new policy list cache. |
Methods inherited from class wt.cache.CacheManager |
checkAccess, get, getDefaultName, 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 |
versionID
private static final String versionID
- See Also:
- Constant Field Values
AclCache
public AclCache()
throws RemoteException
- Contruct a new policy list cache.
getDefaultSize
public int getDefaultSize()
- Description copied from class:
CacheManager
- Get desired size of this cache.
This method attemps to find a size property called
wt.cache.size.CacheName
where cacheName
is the name of this cache. Subclasses can override this
method to control cache size in some other way. If no property is found, the default
size is 100.
Supported API: true
- Overrides:
getDefaultSize
in class CacheManager
computeDefaultSize
private int computeDefaultSize(int propertySize)