Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.components.content
Interface Cacheable

    public interface Cacheable

The `Cacheable` interface is a tagging interface that identifies the output of a dynamic content handler as Cacheable. The methods on a `Cacheable` instance are invoked by the ServingXML framework through reflection. A `Cacheable` implementation services the request with a method of the form

     public long getLastModified(Object key,
     long timestamp, long elapsed) {

where the first parameter is a `ServiceContext`, the second parameter may be any user defined interface that follows bean naming conventions for accessors, and the third parameter is the timestamp when the dynamic content was created, and the fourth parameter is the amount of time elapsed since then.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD