| java.lang.Object org.sakaiproject.memory.impl.MemCache org.sakaiproject.memory.impl.HardCache
HardCache | public class HardCache extends MemCache (Code) | |
HardCache is a MemCache set to use hard, not soft references.
|
Constructor Summary | |
public | HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService) Construct the Cache. | public | HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService, CacheRefresher refresher, String pattern) Construct the Cache. | public | HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService, CacheRefresher refresher, long sleep) Construct the Cache. | public | HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService, long sleep, String pattern) Construct the Cache. |
HardCache | public HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService, CacheRefresher refresher, String pattern)(Code) | | Construct the Cache. Attempts to keep complete on Event notification by calling the refresher.
Parameters: refresher - The object that will handle refreshing of event notified modified or added entries. Parameters: pattern - The "startsWith()" string for all resources that may be in this cache - if null, don't watch events for updates. |
HardCache | public HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService, CacheRefresher refresher, long sleep)(Code) | | Construct the Cache. Automatic refresh handling if refresher is not null.
Parameters: refresher - The object that will handle refreshing of expired entries. Parameters: sleep - The number of seconds to sleep between expiration checks. |
HardCache | public HardCache(BasicMemoryService memoryService, EventTrackingService eventTrackingService, long sleep, String pattern)(Code) | | Construct the Cache. No automatic refresh: expire only, from time and events.
Parameters: sleep - The number of seconds to sleep between expiration checks. Parameters: pattern - The "startsWith()" string for all resources that may be in this cache - if null, don't watch events for updates. |
|
|