public class FileLockConfiguration extends Object implements Serializable
Constructor and Description |
---|
FileLockConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getLockingTimeout()
Get maximum time to wait to get the file lock (0 infinite).
|
boolean |
isSkipLocking()
Get skipping the locking mechanism.
|
void |
setLockingTimeout(int lockingTimeout)
Set maximum time to wait to get the file lock (0 infinite).
|
void |
setSkipLocking(boolean skipLocking)
Set skipping the locking mechanism.
|
public FileLockConfiguration()
public int getLockingTimeout()
public boolean isSkipLocking()
public void setLockingTimeout(int lockingTimeout)
lockingTimeout
- public void setSkipLocking(boolean skipLocking)
skipLocking
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.