Class FileLockExclusiveReadLockStrategy

  • All Implemented Interfaces:
    GenericFileExclusiveReadLockStrategy<File>

    public class FileLockExclusiveReadLockStrategy
    extends MarkerFileExclusiveReadLockStrategy
    Acquires exclusive read lock to the given file. Will wait until the lock is granted. After granting the read lock it is released, we just want to make sure that when we start consuming the file its not currently in progress of being written by third party.