Mercurial > dive4elements > framework
diff artifacts/src/main/java/de/intevation/artifacts/CallContext.java @ 84:72e2dd4feb31
Added the time to live of an artifact to the CallContext.
artifacts/trunk@828 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 25 Mar 2010 17:32:54 +0000 |
parents | 55eefe63a777 |
children | 78263e910675 |
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/CallContext.java Mon Mar 22 15:54:06 2010 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/CallContext.java Thu Mar 25 17:32:54 2010 +0000 @@ -83,5 +83,11 @@ * @return The formerly stored value under the given key. */ Object putContextValue(Object key, Object value); + + /** + * Returns the time to live of the current artifact. + * @return The time to live of the current artifact. + */ + Long getTimeToLive(); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: