[#BloombergLP-bdlcc-StripedUnorderedContainerImpl_TestUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::StripedUnorderedContainerImpl_TestUtil :relfileprefix: ../../ :mrdocs: This class implements a test utility that gives the test driver access to the lock / unlock method of the Read/Write mutex. Its purpose is to allow testing that the locking actually happens as planned. == Synopsis Declared in `<bdlcc_stripedunorderedcontainerimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class VALUE, class HASH = xref:bsl/hash-06.adoc[bsl::hash<KEY>], class EQUAL = xref:bsl/equal_to-0d.adoc[bsl::equal_to<KEY>]> class StripedUnorderedContainerImpl_TestUtil; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_TestUtil/2constructor.adoc[`StripedUnorderedContainerImpl_TestUtil`] [.small]#[constructor]# | Create a `StripedUnorderedContainerImpl_TestUtil` object to test locking in the specified `hash`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_TestUtil/lockRead.adoc[`lockRead`] | Call the `lockRead` method of `bdlcc::StripedUnorderedContainerImpl` `d_locks_p` lock of the specified `key`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_TestUtil/lockWrite.adoc[`lockWrite`] | Call the `lockWrite` method of `bdlcc::StripedUnorderedContainerImpl` `d_locks_p` lock of the specified `key`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_TestUtil/unlockRead.adoc[`unlockRead`] | Call the `unlockRead` method of `bdlcc::StripedUnorderedContainerImpl` `d_locks_p` lock of the specified `key`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_TestUtil/unlockWrite.adoc[`unlockWrite`] | Call the `unlockWrite` method of `bdlcc::StripedUnorderedContainerImpl` `d_locks_p` lock of the specified `key`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#