Mercurial > dive4elements > framework
comparison 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 |
comparison
equal
deleted
inserted
replaced
83:8c4638abd518 | 84:72e2dd4feb31 |
---|---|
81 * @param key The key of the pair | 81 * @param key The key of the pair |
82 * @param value The value of the pair. | 82 * @param value The value of the pair. |
83 * @return The formerly stored value under the given key. | 83 * @return The formerly stored value under the given key. |
84 */ | 84 */ |
85 Object putContextValue(Object key, Object value); | 85 Object putContextValue(Object key, Object value); |
86 | |
87 /** | |
88 * Returns the time to live of the current artifact. | |
89 * @return The time to live of the current artifact. | |
90 */ | |
91 Long getTimeToLive(); | |
86 } | 92 } |
87 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: | 93 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: |