A C D E F G H I L M N P R S T W

A

AbstractCache - class de.neteye.actioncache.AbstractCache.
Abstract in-memory LRU cache.
AbstractCache(int) - Constructor for class de.neteye.actioncache.AbstractCache
 
AbstractCacheableAction - class de.neteye.actioncache.AbstractCacheableAction.
Abstract class that implements time based expiration.
AbstractCacheableAction() - Constructor for class de.neteye.actioncache.AbstractCacheableAction
 
AbstractCacheItem - class de.neteye.actioncache.AbstractCacheItem.
Abstract implementation of the CacheItem interface that doesn't hold any value.
AbstractCacheItem(Object) - Constructor for class de.neteye.actioncache.AbstractCacheItem
 
ActionCache - class de.neteye.actioncache.ActionCache.
Cache implementation using ActionCacheItem objects
ActionCacheItem - class de.neteye.actioncache.ActionCacheItem.
CacheItem implementation that is backed by a file.
ActionCacheItem(Object, File) - Constructor for class de.neteye.actioncache.ActionCacheItem
 
ActionCachePlugIn - class de.neteye.actioncache.ActionCachePlugIn.
 
ActionCachePlugIn() - Constructor for class de.neteye.actioncache.ActionCachePlugIn
 
ActionCacheRequestProcessor - class de.neteye.actioncache.ActionCacheRequestProcessor.
 
ActionCacheRequestProcessor() - Constructor for class de.neteye.actioncache.ActionCacheRequestProcessor
 
ActionCacheResponseWrapper - class de.neteye.actioncache.ActionCacheResponseWrapper.
A HttpServletResponseWrapper that captures the response and updates the given ActionCacheItem in case no error is indicated by the HTTP status code.
ActionCacheResponseWrapper(HttpServletResponse, ActionCacheItem) - Constructor for class de.neteye.actioncache.ActionCacheResponseWrapper
Constructor

C

CACHE - Static variable in class de.neteye.actioncache.ActionCachePlugIn
 
CacheableAction - interface de.neteye.actioncache.CacheableAction.
Actions that want their output to be cached must implement this interface.
CacheItem - interface de.neteye.actioncache.CacheItem.
Objects that shall be kept in the cache must implement this interface.
cacheResponse(HttpServletRequest) - Method in class de.neteye.actioncache.ActionCacheResponseWrapper
 
close() - Method in class de.neteye.actioncache.MultiplexServletOutputStream
Close the streams
close() - Method in class de.neteye.actioncache.MultiplexPrintWriter
Close the writers.
createCacheItem(Object) - Method in class de.neteye.actioncache.ActionCache
 
createCacheItem(Object) - Method in class de.neteye.actioncache.AbstractCache
 

D

de.neteye.actioncache - package de.neteye.actioncache
 
DEFAULT_TTL - Static variable in class de.neteye.actioncache.AbstractCacheableAction
 
destroy() - Method in class de.neteye.actioncache.ActionCachePlugIn
Persists the cache on shutdown.
doForward(String, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.TilesCacheRequestProcessor
 
doForward(String, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.ActionCacheRequestProcessor
 

E

ExampleAction - class de.neteye.actioncache.ExampleAction.
Example that demonstrates how to implement cacheable actions.
ExampleAction() - Constructor for class de.neteye.actioncache.ExampleAction
 
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.ExampleAction
Writes the current time formatted for the requested locale to the output.
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.AbstractCacheableAction
 

F

flush() - Method in class de.neteye.actioncache.MultiplexServletOutputStream
Flush the streams
flush() - Method in class de.neteye.actioncache.MultiplexPrintWriter
Flush the writers.

G

getActionCacheItem(Object) - Method in class de.neteye.actioncache.ActionCache
 
getCacheDir() - Method in class de.neteye.actioncache.ActionCache
 
getCacheKey(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.ExampleAction
Returns the cacheKey containing the acttion's class name and the requested locale.
getCacheKey(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in interface de.neteye.actioncache.CacheableAction
Implementing classes must return a key that uniquely identifies the corresponding cache item.
getCacheKey(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.AbstractCacheableAction
Returns the action's class name by default.
getContentType() - Method in class de.neteye.actioncache.ActionCacheItem
 
getItem(Object) - Method in class de.neteye.actioncache.AbstractCache
 
getKey() - Method in interface de.neteye.actioncache.CacheItem
 
getKey() - Method in class de.neteye.actioncache.AbstractCacheItem
 
getLastModified() - Method in interface de.neteye.actioncache.CacheItem
 
getLastModified() - Method in class de.neteye.actioncache.ActionCacheItem
 
getLastModified() - Method in class de.neteye.actioncache.AbstractCacheItem
 
getLastModified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.ExampleAction
Returns System.currentTimeMillis() to force a refresh when the timeToLive has elapsed.
getLastModified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.AbstractCacheableAction
The default implementation returns System.currentTimeMillis() so that the item is refreshed as soon as it expires.
getLastModified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, ActionCacheItem) - Method in interface de.neteye.actioncache.CacheableAction
Implementing classes must return the time when the underlying data was last modified.
getLastModified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, ActionCacheItem) - Method in class de.neteye.actioncache.AbstractCacheableAction
First checks if given CacheItem is older than the time to live.
getLocale(HttpServletRequest) - Method in class de.neteye.actioncache.ExampleAction
Returns the locale specified by the request parameter locale or the user's default locale in case the parameter is omitted.
getNext() - Method in interface de.neteye.actioncache.CacheItem
 
getNext() - Method in class de.neteye.actioncache.AbstractCacheItem
 
getOutputStream() - Method in class de.neteye.actioncache.ActionCacheResponseWrapper
Get an OutputStream
getPrevious() - Method in interface de.neteye.actioncache.CacheItem
 
getPrevious() - Method in class de.neteye.actioncache.AbstractCacheItem
 
getStatus() - Method in class de.neteye.actioncache.ActionCacheResponseWrapper
 
getTimeToLive(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.ExampleAction
Returns 5000 which means that result will be cached for 5 seconds.
getTimeToLive(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class de.neteye.actioncache.AbstractCacheableAction
Returns 5000 as default.
getWriter() - Method in class de.neteye.actioncache.ActionCacheResponseWrapper
Get a PrintWriter

H

hashCode() - Method in class de.neteye.actioncache.AbstractCacheItem
 

I

init(ActionServlet, ModuleConfig) - Method in class de.neteye.actioncache.TilesCacheRequestProcessor
 
init(ActionServlet, ModuleConfig) - Method in class de.neteye.actioncache.ActionCacheRequestProcessor
 
init(ActionServlet, ModuleConfig) - Method in class de.neteye.actioncache.ActionCachePlugIn
Initializes the cache.
isNew() - Method in class de.neteye.actioncache.ActionCacheItem
 

L

lockForReading() - Method in class de.neteye.actioncache.ReaderWriterLock
Aquire a read lock.
lockForWriting() - Method in class de.neteye.actioncache.ReaderWriterLock
Request the write lock.

M

MultiplexPrintWriter - class de.neteye.actioncache.MultiplexPrintWriter.
PrintWriter that additionally sends its data to second PrintWriter.
MultiplexPrintWriter(Writer, PrintWriter) - Constructor for class de.neteye.actioncache.MultiplexPrintWriter
Construct a new MultiplexPrintWriter
MultiplexServletOutputStream - class de.neteye.actioncache.MultiplexServletOutputStream.
ServletOutputStream that sends the data written to it to two different streams.
MultiplexServletOutputStream(OutputStream, OutputStream) - Constructor for class de.neteye.actioncache.MultiplexServletOutputStream
Construct a new MultiplexServletOutputStream

N

newInstance(int, File) - Static method in class de.neteye.actioncache.ActionCache
 

P

persist() - Method in class de.neteye.actioncache.ActionCache
 
processActionPerform(HttpServletRequest, HttpServletResponse, Action, ActionForm, ActionMapping) - Method in class de.neteye.actioncache.TilesCacheRequestProcessor
 
processActionPerform(HttpServletRequest, HttpServletResponse, Action, ActionForm, ActionMapping) - Method in class de.neteye.actioncache.ActionCacheRequestProcessor
 
processForwardConfig(HttpServletRequest, HttpServletResponse, ForwardConfig) - Method in class de.neteye.actioncache.TilesCacheRequestProcessor
 
processForwardConfig(HttpServletRequest, HttpServletResponse, ForwardConfig) - Method in class de.neteye.actioncache.ActionCacheRequestProcessor
 

R

ReaderWriterLock - class de.neteye.actioncache.ReaderWriterLock.
Class implementing a reader/writer lock with FIFO ordering.
ReaderWriterLock() - Constructor for class de.neteye.actioncache.ReaderWriterLock
 
releaseReaderLock() - Method in class de.neteye.actioncache.ReaderWriterLock
Release the read lock.
releaseWriterLock() - Method in class de.neteye.actioncache.ReaderWriterLock
Release the write lock.
RESPONSE_WRAPPER - Static variable in class de.neteye.actioncache.ActionCache
The request attribute under which the ResponseWrapper is stored

S

setCacheDir(String) - Method in class de.neteye.actioncache.ActionCachePlugIn
Sets the absolute path to the directory where the cached content is stored.
setCapacity(int) - Method in class de.neteye.actioncache.ActionCachePlugIn
Sets the maximum number of elements that will be cached.
setCapacity(int) - Method in class de.neteye.actioncache.AbstractCache
 
setContentType(String) - Method in class de.neteye.actioncache.ActionCacheResponseWrapper
 
setContentType(String) - Method in class de.neteye.actioncache.ActionCacheItem
 
setContextRelative(boolean) - Method in class de.neteye.actioncache.ActionCachePlugIn
Sets whether the cacheDir should be resolved relative to the servlet context.
setKey(Object) - Method in class de.neteye.actioncache.AbstractCacheItem
 
setLastModified(long) - Method in class de.neteye.actioncache.ActionCacheItem
 
setNext(CacheItem) - Method in interface de.neteye.actioncache.CacheItem
 
setNext(CacheItem) - Method in class de.neteye.actioncache.AbstractCacheItem
 
setPrevious(CacheItem) - Method in interface de.neteye.actioncache.CacheItem
 
setPrevious(CacheItem) - Method in class de.neteye.actioncache.AbstractCacheItem
 
setProcessorClass(String) - Method in class de.neteye.actioncache.ActionCachePlugIn
Applications that need to use a custom RequestProcessor can specify the implementing class here.
setStatus(int) - Method in class de.neteye.actioncache.ActionCacheResponseWrapper
Set the HTTP status code
setValue(byte[]) - Method in class de.neteye.actioncache.ActionCacheItem
 
setValue(char[], HttpServletRequest) - Method in class de.neteye.actioncache.ActionCacheItem
 

T

TilesCacheRequestProcessor - class de.neteye.actioncache.TilesCacheRequestProcessor.
Alternative RequestProcessor for applications that want to use actioncache together with Tiles.
TilesCacheRequestProcessor() - Constructor for class de.neteye.actioncache.TilesCacheRequestProcessor
 
TokenFilterWriter - class de.neteye.actioncache.TokenFilterWriter.
A FilterWriter that replaces all occurences of a given token with a replacement string.
TokenFilterWriter(String, String, BufferedWriter) - Constructor for class de.neteye.actioncache.TokenFilterWriter
 
TokenFilterWriter(String, String, Writer) - Constructor for class de.neteye.actioncache.TokenFilterWriter
 
tryLockForReading() - Method in class de.neteye.actioncache.ReaderWriterLock
Request a reader lock.
tryLockForWriting() - Method in class de.neteye.actioncache.ReaderWriterLock
Aquire a write lock (non-blocking).

W

wrapResponse(HttpServletRequest, HttpServletResponse, Action, ActionForm, ActionMapping) - Method in class de.neteye.actioncache.ActionCache
Wraps the response into an ActionCacheResponseWrapper if it needs to be cached.
write(byte[]) - Method in class de.neteye.actioncache.MultiplexServletOutputStream
Write to the output streams
write(byte[], int, int) - Method in class de.neteye.actioncache.MultiplexServletOutputStream
Write to the output streams
write(char[], int, int) - Method in class de.neteye.actioncache.TokenFilterWriter
 
write(char[], int, int) - Method in class de.neteye.actioncache.MultiplexPrintWriter
Write a portion of an array of characters.
write(int) - Method in class de.neteye.actioncache.TokenFilterWriter
 
write(int) - Method in class de.neteye.actioncache.MultiplexServletOutputStream
Write to the output streams
write(int) - Method in class de.neteye.actioncache.MultiplexPrintWriter
Write a single character.
write(String, int, int) - Method in class de.neteye.actioncache.MultiplexPrintWriter
Write a portion of a string.
writeTo(HttpServletRequest, ServletResponse) - Method in class de.neteye.actioncache.ActionCacheItem
 

A C D E F G H I L M N P R S T W