Configuration

data class Configuration(val lockFilesDir: Path = Paths.get(System.getProperty("java.io.tmpdir")), val lockIdentifier: String = APP_IDENTIFIER)

Configuration for a locking mechanism.

Constructors

Link copied to clipboard
constructor(lockFilesDir: Path = Paths.get(System.getProperty("java.io.tmpdir")), lockIdentifier: String = APP_IDENTIFIER)

Properties

Link copied to clipboard
val lockFileName: String
Link copied to clipboard
val lockFilePath: Path
Link copied to clipboard
val lockFilesDir: Path

The directory where lock files will be stored. Defaults to the system's temporary directory.

Link copied to clipboard
val lockIdentifier: String

The lock identifier that will be used for generating lock files names.

Link copied to clipboard
Link copied to clipboard