public class DirectoryLock
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOCKNAME |
| Constructor and Description |
|---|
DirectoryLock(java.io.File directory,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
lock() |
void |
release() |
public static final java.lang.String LOCKNAME