Martin Stockhammer
|
c56ce11c20
|
Fixing unit tests
|
4 years ago |
Martin Stockhammer
|
8e4acdc82a
|
Migrating to storage API
|
4 years ago |
Martin Stockhammer
|
bed24eac44
|
Finally switching the file lock to java.nio
|
6 years ago |
Martin Stockhammer
|
878287b7b3
|
[MRM-1945] Fixing race condition
Do not return used locks anymore. If the lock map contains
an entry already, the retry loop continues.
|
7 years ago |
Martin Stockhammer
|
5780110b79
|
Reverting locking modifications
|
7 years ago |
Martin Stockhammer
|
4c35ccef7b
|
Reverting locking modifications
|
7 years ago |
Martin Stockhammer
|
d380bc6779
|
Additional improvement for file locks
|
7 years ago |
Martin Stockhammer
|
40816fc367
|
Additional improvement for file locks
|
7 years ago |
Martin Stockhammer
|
8dc5e696d2
|
Stabilised file lock implementation and tests
|
7 years ago |
Martin Stockhammer
|
99de6268c9
|
Stabilised file lock implementation and tests
|
7 years ago |
Olivier Lamy
|
9a09994c8c
|
simply use File implementation as we are now 1.7 required
|
10 years ago |
Eric Barboni
|
99117364be
|
one move for all remaining override annotation
|
10 years ago |
Olivier Lamy
|
d6c28781b0
|
more diamond
|
10 years ago |
Olivier Lamy
|
3e6c7ea831
|
ignore ClosedChannelException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551831 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
66ed6cb4b0
|
prevent possible NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551386 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
52caa0198b
|
better handling of FNFE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551370 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
c2d4f8bce1
|
prevent possible file limit issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551121 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
4e077a844e
|
prevent possible race condition if the file has been deleted
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551109 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
3e91228d28
|
try creating the file before the lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550648 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
a597458ba9
|
track FileNotFoundException if a concurrent thread delete the file before locking and try recreate it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550647 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
76d1127f8b
|
skip locking true per default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550644 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
e1c3663b01
|
use a concurrent map to handle file lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550641 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
49c91d619d
|
add missing @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550638 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
e48c05fb6f
|
add note on possible improvments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550637 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
06cb9ea4f9
|
[MRM-1702] use the fileLockLManager in the code with possible race condition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550636 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
c3ba717d4c
|
expose how to skip locking mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550635 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
79329d262e
|
fix timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550562 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
7fc6fb2158
|
add class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550561 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
3e344bc827
|
throw a timeout exception if not possible to get the lock after the timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550560 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
a724876adf
|
license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550558 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
875890880a
|
cleanup this file locking library
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550556 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |
Olivier Lamy
|
6b23332e9d
|
add a new module for file locking
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550396 13f79535-47bb-0310-9956-ffa450edef68
|
10 years ago |