Class RWLockContext

    • Constructor Detail

      • RWLockContext

        public RWLockContext()
    • Method Detail

      • readLock

        protected void readLock()
      • readUnlock

        protected void readUnlock()
      • writeLock

        protected void writeLock()
      • writeUnlock

        protected void writeUnlock()
      • executeInReadLock

        public <RET> RET executeInReadLock​(Callable<RET> callable)
        Executes a callback in an shared lock.
      • executeInWriteLock

        public <RET> RET executeInWriteLock​(Callable<RET> callable)
        Executes a callback in an exclusive lock.