|
| ANALYTICS_API | FAnalyticsPropertyStore () |
| |
| virtual ANALYTICS_API | ~FAnalyticsPropertyStore () |
| |
| | FAnalyticsPropertyStore (const FAnalyticsPropertyStore &)=delete |
| |
| | FAnalyticsPropertyStore (FAnalyticsPropertyStore &&)=delete |
| |
| FAnalyticsPropertyStore & | operator= (const FAnalyticsPropertyStore &)=delete |
| |
| FAnalyticsPropertyStore & | operator= (FAnalyticsPropertyStore &&)=delete |
| |
| ANALYTICS_API bool | Create (const FString &Pathname, uint32 CapacityHint=4 *1024) |
| |
| ANALYTICS_API bool | Load (const FString &Pathname) |
| |
| bool | IsValid () const |
| |
| virtual ANALYTICS_API uint32 | Num () const override |
| |
| virtual ANALYTICS_API bool | Contains (const FString &Key) const override |
| |
| virtual ANALYTICS_API bool | Remove (const FString &Key) override |
| |
| virtual ANALYTICS_API void | RemoveAll () override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, int32 Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, uint32 Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, int64 Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, uint64 Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, float Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, double Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, bool Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, const FString &Value, uint32 CharCountCapacityHint=0) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, const FDateTime &Value) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, int32 Value, const TFunction< bool(const int32 *, const int32 &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, uint32 Value, const TFunction< bool(const uint32 *, const uint32 &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, int64 Value, const TFunction< bool(const int64 *, const int64 &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, uint64 Value, const TFunction< bool(const uint64 *, const uint64 &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, float Value, const TFunction< bool(const float *, const float &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, double Value, const TFunction< bool(const double *, const double &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, bool Value, const TFunction< bool(const bool *, const bool &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, const FString &Value, const TFunction< bool(const FString *, const FString &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Set (const FString &Key, const FDateTime &Value, const TFunction< bool(const FDateTime *, const FDateTime &)> &ConditionFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(int32 &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(uint32 &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(int64 &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(uint64 &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(float &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(double &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(bool &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(FString &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Update (const FString &Key, const TFunction< bool(FDateTime &)> &UpdateFn) override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, int32 &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, uint32 &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, int64 &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, uint64 &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, float &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, double &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, bool &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, FString &OutValue) const override |
| |
| virtual ANALYTICS_API EStatusCode | Get (const FString &Key, FDateTime &OutValue) const override |
| |
| virtual ANALYTICS_API void | VisitAll (const TFunction< void(FAnalyticsEventAttribute &&)> &VisitFn) const override |
| |
| virtual ANALYTICS_API bool | Flush (bool bAsync=false, const FTimespan &Timeout=FTimespan::MaxValue()) override |
| |
| virtual | ~IAnalyticsPropertyStore ()=default |
| |
Implements a fast key/value database to store the metrics gathered to create the session summary event. The store is buffered in memory until it is flushed to disk by calling Flush(). It is not designed to handle millions of key/value pairs, but rather a small subset that fits in memory. The implementation reserve disk space ahead of time and can usually perform in-place update. Setting or getting intrinsic types (int32, uint32, int64, uint64, float, double, bool as well as FDateTime) doesn't allocate memory. The string time is often updated in place if enough capacity was reserved. All store operations are thread safe and atomic from the caller perspective.