01: /**
02: * $Id: CacheManager.java,v 1.3 2004/01/07 23:54:15 mjain Exp $
03: * Copyright 2003 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.wsrp.consumer.markup;
14:
15: import com.sun.portal.container.ContainerRequest;
16: import com.sun.portal.wsrp.common.stubs.MarkupParams;
17:
18: /**
19: * CacheManager interface.
20: */
21: public interface CacheManager {
22:
23: /**
24: * Returns the cached content for a container request.
25: *
26: * @param request
27: */
28:
29: public CacheEntry getCacheEntry(MarkupConfig markupConfig,
30: ContainerRequest request, MarkupParams markupParams);
31:
32: /**
33: *
34: *
35: * @param request
36: * @param cacheControl
37: * @param entry
38: * Anonymous user -- look again for forAll case.
39: */
40: public void putCacheEntry(MarkupConfig markupConfig,
41: ContainerRequest request, CacheEntry entry);
42:
43: /**
44: * Invalidte the cache
45: *
46: * @param request
47: */
48: public void invalidateCacheEntry(MarkupConfig markupConfig,
49: ContainerRequest request);
50:
51: }
|