Persist context data from memory to permanent storing. Acquires a read lock. Can be called while holding the write lock.
- IOException – When persisting fails unexpectedly.
Request read access to this context.
Returns: Closable lock which must be held during reading. Close the lock when done.
Resets the state of this context. Acquires a write lock. Cannot be called while holding the read lock.
- IOException – When resetting fails unexpectedly