ovidiu 02/04/09 17:33:23
Modified: src/scratchpad/schecoon/src/org/apache/cocoon/components/flow
ContinuationsManager.java
Log:
Pass an additional time-to-live argument to createWebContinuation().
Revision Changes Path
1.2 +5 -2
xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/ContinuationsManager.java
Index: ContinuationsManager.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/ContinuationsManager.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ContinuationsManager.java 21 Mar 2002 23:11:55 -0000 1.1
+++ ContinuationsManager.java 10 Apr 2002 00:33:23 -0000 1.2
@@ -29,11 +29,15 @@
*
* @param kont an <code>Object</code> value
* @param parentKont a <code>WebContinuation</code> value
+ * @param timeToLive an <code>int</code> value indicating how long
+ * in seconds this continuation will live in the server if not
+ * accessed
* @return a <code>WebContinuation</code> value
* @see WebContinuation
*/
public WebContinuation createWebContinuation(Object kont,
- WebContinuation parentKont);
+ WebContinuation parentKont,
+ int timeToLive);
/**
* Invalidates a <code>WebContinuation</code>. This effectively
@@ -56,4 +60,3 @@
*/
public WebContinuation lookupWebContinuation(String id);
}
-
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]