read Lock
Lock metadata while performing an action that doesn't change metadata.
To separate the locking and unlocking steps, see {@link com.sap.cloud.mobile.kotlin.odata.MetadataLock#mutex MetadataLock.mutex}, ReadWriteLock.beginRead and ReadWriteLock.endRead.
Note: a thread may request a read lock when it already has a read lock (but not if it already has a write lock).
Parameters
action
Action to perform while a shared read lock is held.