# Interface: com.pnfsoftware.jeb.util.concurrent.ISafeLock

Lock creator interface for auto\-closable read\-only and read\-write locks.

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

Description: Create an auto\-closable read\-only lock.
return: an acquired lock that releases its read lock when closed

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

Description: Create an auto\-closable read\-write lock.
return: an acquired lock that releases its write lock when closed

