Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opensymphony.oscache.web.filter.* (7)com.opensymphony.oscache.web.tag.* (5)

com.opensymphony.oscache.web: Javadoc index of package com.opensymphony.oscache.web.


Package Samples:

com.opensymphony.oscache.web.filter: Provides classes and interfaces that make up the base of OSCache's web application support.  
com.opensymphony.oscache.web.tag

Classes:

FlushTag: FlushTag flushes caches created with <cache>. This tag provides programmatic control over when caches are flushed, and can flush all caches at once. Usage Examples: <%@ taglib uri="oscache" prefix="cache" %> <cache:flush scope="application" /> <cache:flush scope="session" key="foobar" /> Note: If no scope is provided (or scope is null), it will flush all caches globally - use with care! Flushing is done by setting an appropriate application level time, which <cache> always looks at before retrieving the cache. If this 'flush time' is > that cache's last update, ...
UseCachedTag: UseCachedTag is a tag that tells a <cache> tag to reuse the cached body. Usage Example: <%@ taglib uri="oscache" prefix="cache" %> <cache:cache key="mycache" scope="application"> if (reuse cached) <cache:usecached /> else some other logic </cache:cache> Note this is very useful with try / catch blocks so that you can still produce old cached data if an exception occurs, eg your database goes down.
WebEntryRefreshPolicy: Interface to implement an entry refresh policy. Specify the name of the implementing class using the refreshpolicyclass attribute of the cache tag. If any additional parameters are required, they should be supplied using the refreshpolicyparam attribute. For example: <cache:cache key="mykey" refreshpolicyclass="com.mycompany.cache.policy.MyRefreshPolicy" refreshpolicyparam="...additional data..."> My cached content </cache:cache>
CacheTag: CacheTag is a tag that allows for server-side caching of post-processed JSP content. It also gives great programatic control over refreshing, flushing and updating the cache. Usage Example: <%@ taglib uri="oscache" prefix="cache" %> <cache:cache key="mycache" scope="application" refresh="false" time="30"> jsp content here... refreshed every 30 seconds </cache:cache>
ServletCacheAdministrator: A ServletCacheAdministrator creates, flushes and administers the cache. This is a "servlet Singleton". This means it's not a Singleton in the traditional sense, that is stored in a static instance. It's a Singleton _per web app context_. Once created it manages the cache path on disk through the oscache.properties file, and also keeps track of the flush times.
SplitServletOutputStream: Extends the base ServletOutputStream class so that the stream can be captured as it gets written. This is achieved by overriding the write() methods and outputting the data to two streams - the original stream and a secondary stream that is designed to capture the written data.
TestLoadCompleteWeb: Test class for the com.opensymphony.oscache.web package. It invokes all the test suites of all the other classes of the package. The test methods will be invoked with many users and iterations to simulate load on request $Id: TestLoadCompleteWeb.java,v 1.1 2005/06/17 05:06:37 dres Exp $
ICacheGroupsProvider: Provider interface for cache groups creation in CacheFilter. A developer can implement a method which provides cache groups based on the request, the servlet cache administrator and cache. JIRA issue: http://jira.opensymphony.com/browse/CACHE-195
ICacheKeyProvider: Provider interface for cache key creation. A developer can implement a method which provides cache keys based on the request, the servlet cache administrator and cache. JIRA issue: http://jira.opensymphony.com/browse/CACHE-179
TestCompleteWeb: Test class for the com.opensymphony.oscache.web package. It invokes all the test suites of all the other classes of the package. $Id: TestCompleteWeb.java,v 1.1 2005/06/17 05:06:37 dres Exp $
CacheFilter: CacheFilter is a filter that allows for server-side caching of post-processed servlet content. It also gives great programatic control over refreshing, flushing and updating the cache.
TestOscacheServlet: Test test the osCacheServlet distributed with the package. It checks that the cache integration is OK. $Id: TestOscacheServlet.java,v 1.3 2005/10/16 18:30:25 ltorunski Exp $
OscacheServlet: Servlet used to test the web portion of osCache. It performs the operations received by parameter $Id: OscacheServlet.java,v 1.1.1.1 2003/07/17 20:28:08 chris_miller Exp $
TestOscacheJsp: Test test the JSPs distributed with the package. It checks that the cache integration is OK. $Id: TestOscacheJsp.java,v 1.1 2005/06/17 05:06:38 dres Exp $
ResponseContent: Holds the servlet response in a byte array so that it can be held in the cache (and, since this class is serializable, optionally persisted to disk).
TestOscacheFilter: Tests the caching filter distributed with the package. $Id: TestOscacheFilter.java,v 1.4 2005/10/20 12:12:35 ltorunski Exp $
ServletCache: A simple extension of Cache that implements a session binding listener, and deletes it's entries when unbound
CacheContextListener: Class for a clean startup and shutdown of the ServletCacheAdministrator and its application scoped cache.
ExpiresRefreshPolicy: Checks if a cache filter entry has expired. This is useful when expires header are used in the response.
GroupsTag: GroupsTag is a tag that add a comma-delimited list of groups to an ancestor CacheTag's groups.
GroupTag: GroupTag is a tag that adds a group to an ancestor CacheTag's groups.
CacheHttpServletResponseWrapper: CacheServletResponse is a serialized representation of a response
CheckDeployment: User: hani Date: Jun 12, 2003 Time: 3:34:20 PM

Home | Contact Us | Privacy Policy | Terms of Service