Package org.tmatesoft.svn.core.io
Interface ISVNLockTimeoutProvider
public interface ISVNLockTimeoutProvider
Mix-in interface to be optionally implemented by ISVNLockHandler
When supported by the server, lock timeout would be requested during lock operation.
-
Method Summary
Modifier and TypeMethodDescriptionlong
getLockTimeout
(String repositoryPath, String path, String comment, boolean force) Returns lock timeout
-
Method Details
-
getLockTimeout
Returns lock timeout- Parameters:
repositoryPath
- path to the file about to be locked relative to repository rootpath
- path to the file about to be locked relative to SVNRepository locationcomment
- lock commentforce
- true if lock is forced- Returns:
- lock timeout duration in seconds or 0 for infinite timeout
-