drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java
public void setTimeout(int value) {
        if (value == -1)
            put(TIMEOUT, ""); //$NON-NLS-1$
        else
            put(TIMEOUT, (value == -2) ? DEPTH_INFINITY : "Second-" + Integer.toString(value)); //$NON-NLS-1$
    }
public void setTimeout(int value) {
        if (value == -1)
            put(TIMEOUT, ""); //$NON-NLS-1$
        else
            put(TIMEOUT, (value == -2) ? DEPTH_INFINITY : "Second-" + Integer.toString(value)); //$NON-NLS-1$
    }
public void setTimeout ( int value ) { if ( value == - 1 ) put ( TIMEOUT , "" ) ; //$NON-NLS-1$ else put ( TIMEOUT , ( value == - 2 ) ? DEPTH_INFINITY : "Second-" + Integer . toString ( value ) ) ; //$NON-NLS-1$ }
Set the lock timeout value in seconds. Pass -1 to clear the
value, pass -2 to set "Infinity". Set the integer value for the
TIMEOUT key.

<p>Implements the corresponding API in the interface
<code>Context</code>.</p>

@param value the value for TIMEOUT
@see Context#setTimeout(int)
Set the lock timeout value in seconds . Pass - 1 to clear the value pass - 2 to set Infinity . Set the integer value for the TIMEOUT key .