@Override
    public void lockInterruptibly() throws InterruptedException {
        acquireInterruptibly(1);
    }
Non reentrant lock, copied from netty project.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/NonReentrantLock.java