Class KeyLocks


  • public class KeyLocks
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyLocks()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T withLock​(java.lang.String key, java.util.concurrent.Callable<T> action)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyLocks

        public KeyLocks()
    • Method Detail

      • withLock

        public <T> T withLock​(java.lang.String key,
                              java.util.concurrent.Callable<T> action)