public class FileLockConfiguration extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
lockingTimeout
maximum time to wait to get the file lock (0 infinite).
|
private boolean |
skipLocking
skipping the locking mechanism.
|
| 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.
|
private boolean skipLocking
private int lockingTimeout
public FileLockConfiguration()
public int getLockingTimeout()
public boolean isSkipLocking()
public void setLockingTimeout(int lockingTimeout)
lockingTimeout - public void setSkipLocking(boolean skipLocking)
skipLocking - Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.