class

LavinMQ::DataDirLock

Inherits Reference < Object

Make sure that only one instance is using the data directory

Constants

Log = LavinMQ::Log.for("data_dir_lock")

Constructors

new(data_dir)
Source

Instance methods

acquire

Raises Error if another process holds the lock. See man 2 flock

Source
release
Source

Nested types