proxygen
|
#include <ObserverManager.h>
Classes | |
struct | Dependencies |
Public Types | |
using | DependencySet = std::unordered_set< Core::Ptr > |
Public Member Functions | |
DependencyRecorder (const Core &core) | |
DependencySet | release () |
~DependencyRecorder () | |
Static Public Member Functions | |
static void | markDependency (Core::Ptr dependency) |
static void | markRefreshDependency (const Core &core) |
static void | unmarkRefreshDependency (const Core &core) |
Private Attributes | |
Dependencies | dependencies_ |
Dependencies * | previousDepedencies_ |
Static Private Attributes | |
static FOLLY_TLS Dependencies * | currentDependencies_ {nullptr} |
Definition at line 137 of file ObserverManager.h.
using folly::observer_detail::ObserverManager::DependencyRecorder::DependencySet = std::unordered_set<Core::Ptr> |
Definition at line 139 of file ObserverManager.h.
|
inlineexplicit |
Definition at line 147 of file ObserverManager.h.
References currentDependencies_, dependencies_, folly::observer_detail::ObserverManager::inManagerThread(), and previousDepedencies_.
|
inline |
Definition at line 197 of file ObserverManager.h.
References currentDependencies_, dependencies_, and release().
|
inlinestatic |
Definition at line 154 of file ObserverManager.h.
References currentDependencies_, folly::observer_detail::ObserverManager::DependencyRecorder::Dependencies::dependencies, folly::observer_detail::ObserverManager::inManagerThread(), and folly::gen::move.
Referenced by folly::observer_detail::Core::getData().
|
inlinestatic |
Definition at line 161 of file ObserverManager.h.
References folly::observer_detail::GraphCycleDetector< NodeId >::addEdge(), folly::observer_detail::ObserverManager::DependencyRecorder::Dependencies::core, currentDependencies_, and folly::observer_detail::ObserverManager::getInstance().
Referenced by folly::observer_detail::Core::refresh().
|
inline |
Definition at line 189 of file ObserverManager.h.
References currentDependencies_, folly::observer_detail::ObserverManager::DependencyRecorder::Dependencies::dependencies, dependencies_, folly::gen::move, previousDepedencies_, and folly::f14::swap().
Referenced by folly::observer_detail::Core::refresh(), and ~DependencyRecorder().
|
inlinestatic |
Definition at line 177 of file ObserverManager.h.
References folly::observer_detail::ObserverManager::DependencyRecorder::Dependencies::core, currentDependencies_, folly::observer_detail::ObserverManager::getInstance(), and folly::observer_detail::GraphCycleDetector< NodeId >::removeEdge().
Referenced by folly::observer_detail::Core::refresh().
|
staticprivate |
Definition at line 207 of file ObserverManager.h.
Referenced by DependencyRecorder(), markDependency(), markRefreshDependency(), release(), unmarkRefreshDependency(), and ~DependencyRecorder().
|
private |
Definition at line 204 of file ObserverManager.h.
Referenced by DependencyRecorder(), release(), and ~DependencyRecorder().
|
private |
Definition at line 205 of file ObserverManager.h.
Referenced by DependencyRecorder(), and release().