# Class: com.pnfsoftware.jeb.util.concurrent.SafeLockImpl

Standard implementation of a safe lock, using a serializable reentrant read\-write lock. It is highly recommended to use this lock through the safe interface [ISafeLock](ISafeLock). Direct use of non\-auto\-closable methods is not recommended.

## Constructor: SafeLockImpl


## Method: debugFormatStatus
- return type: `java.lang.String`


## Method: getInternalLock
- return type: `java.util.concurrent.locks.ReentrantReadWriteLock`


## Method: lock
- parameter: `forWriting`, type: `boolean`


## Method: lockRead


## Method: lockWrite


## Method: ro
- return type: `com.pnfsoftware.jeb.util.concurrent.ACLock`


## Method: rw
- return type: `com.pnfsoftware.jeb.util.concurrent.ACLock`


## Method: unlock
- parameter: `forWriting`, type: `boolean`


## Method: unlockRead


## Method: unlockWrite


