YggVolatileObjectCache.mesa
Copyright Ó 1988 by Xerox Corporation. All rights reserved.
Bob Hagmann April 19, 1988 4:21:53 pm PDT
Procedures
LookupDIDInCache:
PROC [did: YggDID.
DID]
RETURNS [document: YggRep.VDoc];
Given a DID, return the volatile form of the document if it is cached. If the object is reserved, block until this is over.
ReserveDIDInCache:
PROC [did: YggDID.
DID];
Given a DID, reserve this DID as being volatized. Calling this procedure obligates the caller to call CacheDID to clear the reservation.
UnreserveDIDInCache:
PROC [did: YggDID.
DID];
Undo a reservation.
CacheDID:
PROC [did: YggDID.
DID, document: YggRep.VDoc];
Add this document to the cache for the did.
InvalidateDID:
PROC [did: YggDID.
DID];
Remove this did from the cache.
SetSizeOfDIDCache:
PROC [size:
INT];
Remove this did from the cache.