Class FileLockExecutor

  • All Implemented Interfaces:
    Executor

    public class FileLockExecutor
    extends Object
    implements Executor
    An executor that uses file locking to ensure runnable instances are executed sequentially.
    Since:
    1.6.0
    • Constructor Detail

      • FileLockExecutor

        public FileLockExecutor​(File file)
        Creates an executor locking on the specified file.
        Parameters:
        file - the file to lock to ensure non concurrent executions.