[#BloombergLP-bdlcc-Cache_QueueProctor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::Cache_QueueProctor :relfileprefix: ../../ :mrdocs: This class implements a proctor that, on destruction, restores the queue to its state at the time of the proctor's creation. We assume that the only change to the queue is that 0 or more items have been added to the end. If `release` has been called, the destructor takes no action. == Synopsis Declared in `<bdlcc_cache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class KEY> class Cache_QueueProctor; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/Cache_QueueProctor/2constructor.adoc[`Cache_QueueProctor`] [.small]#[constructor]# | Create a `Cache_QueueProctor` object to monitor the specified `queue`. | xref:BloombergLP/bdlcc/Cache_QueueProctor/2destructor.adoc[`~Cache_QueueProctor`] [.small]#[destructor]# | Destroy this proctor object. Remove any elements that we added since the proctor was created. | xref:BloombergLP/bdlcc/Cache_QueueProctor/release.adoc[`release`] | Release the queue specified on construction, so that it will not be modified on the destruction of this proctor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#