Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updating apache commons library versions

  1. … 172 more files in changeset.
Fixing unit tests

    • -5
    • +6
    ./apache/archiva/common/filelock/Lock.java
  1. … 53 more files in changeset.
Migrating to storage API

    • -2
    • +2
    ./apache/archiva/common/filelock/Lock.java
  1. … 31 more files in changeset.
Finally switching the file lock to java.nio

    • -18
    • +10
    ./apache/archiva/common/filelock/Lock.java
  1. … 4 more files in changeset.
[MRM-1945] Fixing race condition

Do not return used locks anymore. If the lock map contains

an entry already, the retry loop continues.

  1. … 1 more file in changeset.
Reverting locking modifications

Reverting locking modifications

Additional improvement for file locks

  1. … 1 more file in changeset.
Additional improvement for file locks

  1. … 1 more file in changeset.
Stabilised file lock implementation and tests

    • -1
    • +1
    ./apache/archiva/common/filelock/Lock.java
  1. … 1 more file in changeset.
Stabilised file lock implementation and tests

    • -1
    • +1
    ./apache/archiva/common/filelock/Lock.java
  1. … 1 more file in changeset.
simply use File implementation as we are now 1.7 required

one move for all remaining override annotation

  1. … 254 more files in changeset.
more diamond

    • -1
    • +1
    ./apache/archiva/common/filelock/Lock.java
  1. … 61 more files in changeset.
ignore ClosedChannelException

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551831 13f79535-47bb-0310-9956-ffa450edef68

prevent possible NPE

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551386 13f79535-47bb-0310-9956-ffa450edef68

better handling of FNFE

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551370 13f79535-47bb-0310-9956-ffa450edef68

prevent possible file limit issue

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551121 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +4
    ./apache/archiva/common/filelock/Lock.java
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

try creating the file before the lock

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550648 13f79535-47bb-0310-9956-ffa450edef68

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

skip locking true per default

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550644 13f79535-47bb-0310-9956-ffa450edef68

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

  1. … 3 more files in changeset.
add missing @since

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550638 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +1
    ./apache/archiva/common/filelock/Lock.java
add note on possible improvments

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550637 13f79535-47bb-0310-9956-ffa450edef68

[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

  1. … 9 more files in changeset.
expose how to skip locking mechanism

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550635 13f79535-47bb-0310-9956-ffa450edef68

fix timeout

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550562 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
add class

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550561 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +32
    ./apache/archiva/common/filelock/FileLockTimeoutException.java
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

  1. … 1 more file in changeset.