Package io.github.sanyarnd.applocker


package io.github.sanyarnd.applocker
AppLocker library.
Author:
Alexander Biryukov
  • Class
    Description
    The Locker class provides methods for a locking mechanism and encapsulates socket-based message server for IPC.
    AppLocker builder.
    File-channel based lock.
    Provides a safe way to encode application id such that it can be stored on filesystem without exceptions: invalid characters, too long etc.
    Exception indicates that the lock has already been acquired.
    The Exception indicates that there was a failure (most probably I/O) during acquiring the lock.
    Interface for the function that runs on the server side and handles all incoming messages.