Martin Stockhammer
|
f101252375
|
Reorganizing imports
|
6 lat temu |
Martin Stockhammer
|
bed24eac44
|
Finally switching the file lock to java.nio
|
6 lat temu |
Daniel Trebbien
|
0b15664f1c
|
Utilize parameterized logging and remove toString() calls
As suggested in the SLF4J FAQ:
https://www.slf4j.org/faq.html#logging_performance
.. parameterized logging can improve the efficiency of logger calls when
logging at the specified level is disabled.
In addition, per the FAQ: https://www.slf4j.org/faq.html#paramException
since SLF4J 1.6.0 it is possible to use parameterized logging and also
log an exception/throwable.
toString() is called automatically:
https://www.slf4j.org/faq.html#string_contents
These changes were suggested by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
|
6 lat temu |
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 lat temu |
Martin Stockhammer
|
b0f22a2469
|
Fixing locking tests on windows
|
7 lat temu |
Martin Stockhammer
|
151fae7e17
|
Adding additional information for failing tests
|
7 lat temu |
Martin Stockhammer
|
367997a308
|
Add additional checks for file lock tests
|
7 lat temu |
Martin Stockhammer
|
dfcef53bf9
|
Add additional checks for file lock tests
|
7 lat temu |
Martin Stockhammer
|
d380bc6779
|
Additional improvement for file locks
|
7 lat temu |
Martin Stockhammer
|
40816fc367
|
Additional improvement for file locks
|
7 lat temu |
Martin Stockhammer
|
8dc5e696d2
|
Stabilised file lock implementation and tests
|
7 lat temu |
Martin Stockhammer
|
99de6268c9
|
Stabilised file lock implementation and tests
|
7 lat temu |
Olivier Lamy
|
65bcbc9d45
|
do the same as FileUtils.copyFile do
|
10 lat temu |
Olivier Lamy
|
ec1e655c9d
|
use Files.copy from java.nio.file
|
10 lat temu |
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 lat temu |
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 lat temu |
Olivier Lamy
|
79329d262e
|
fix timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550562 13f79535-47bb-0310-9956-ffa450edef68
|
10 lat temu |
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 lat temu |
Olivier Lamy
|
a724876adf
|
license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550558 13f79535-47bb-0310-9956-ffa450edef68
|
10 lat temu |
Olivier Lamy
|
7f1ddf0b2f
|
fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550557 13f79535-47bb-0310-9956-ffa450edef68
|
10 lat temu |
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 lat temu |
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 lat temu |