Class DefaultNamedLockFactorySelector

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getAvailableLockFactories()
      Returns immutable set of available lock factory names, to be used for logging purposes or alike.
      long getLockWaitTime​(java.util.Map<java.lang.String,​?> configuration)
      Returns the maximum amount of time to be blocked, while obtaining a named lock, based on configuration.
      java.util.concurrent.TimeUnit getLockWaitTimeUnit​(java.util.Map<java.lang.String,​?> configuration)
      Returns the unit of maximum amount of time based on configuration.
      org.eclipse.aether.named.NamedLockFactory getNamedLockFactory​(java.util.Map<java.lang.String,​?> configuration)
      Selects NamedLockFactory based on configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait