Class ReentrantHashMapLocks


  • public class ReentrantHashMapLocks
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void lock​(int id)  
      boolean tryLock​(int id)  
      void unlock​(int id)  
      • Methods inherited from class java.lang.Object

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

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • ReentrantHashMapLocks

        public ReentrantHashMapLocks()
    • Method Detail

      • lock

        public void lock​(int id)
      • tryLock

        public boolean tryLock​(int id)
      • unlock

        public void unlock​(int id)