class CordzUpdateScope

Defined at line 33 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

CordzUpdateScope scopes an update to the provided CordzInfo.

The class invokes `info->Lock(method)` and `info->Unlock()` to guard

cordrep updates. This class does nothing if `info` is null.

See also the 'Lock`, `Unlock` and `SetCordRep` methods in `CordzInfo`.

Public Methods

void CordzUpdateScope (CordzInfo * info, CordzUpdateTracker::MethodIdentifier method)

Defined at line 35 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

void CordzUpdateScope (CordzUpdateScope && rhs)

CordzUpdateScope can not be copied or assigned to.

Defined at line 44 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

void CordzUpdateScope (const CordzUpdateScope & )

Defined at line 45 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

CordzUpdateScope & operator= (CordzUpdateScope && rhs)

Defined at line 46 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

CordzUpdateScope & operator= (const CordzUpdateScope & )

Defined at line 47 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

void ~CordzUpdateScope ()

Defined at line 49 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

void SetCordRep (CordRep * rep)

Defined at line 55 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h

CordzInfo * info ()

Defined at line 61 of file ../../third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h