Objective-CclassPowerlogCore
PLStorageCache
@interface PLStorageCache : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 99
- method
+ (unsigned long long)bgsqlCacheLimit; - method
+ (BOOL)isBGSQLEntryKey:(id)arg0; - method
+ (id)sharedStorageCache; - method
+ (void)syncAndDispatchForEntryCache:(id)arg0 forEntryKey:(id)arg1 withBlock:(id /* block */)arg2; - ivar
BOOL _bgsqlDedicatedCacheEnabled;+0x8 - ivar
unsigned long long _bgsqlFlushCountThisWindow;+0x60 - ivar
NSDate *_bgsqlFlushWindowStart;+0x68 - ivar
NSMutableDictionary *_bgsqlStagingCache;+0x58 - ivar
NSMutableDictionary *_cacheContent;+0x28 - ivar
NSMutableDictionary *_countSafetyDrop;+0x50 - ivar
NSMutableDictionary *_countWarnings;+0x48 - ivar
NSDate *_lastCacheFlushDate;+0x10 - ivar
NSMutableDictionary *_lastEntryCache;+0x30 - ivar
long long _lastEntryCacheSize;+0x18 - ivar
NSMutableDictionary *_stagingAggregateEntryCache;+0x40 - ivar
NSMutableDictionary *_stagingEntryCache;+0x38 - ivar
long long _stagingEntryCacheSize;+0x20 - method
- (void).cxx_destruct; - method
- (long long)addToBGSQLStagingCache:(id)arg0; - method
- (void)addToLastEntryCache:(id)arg0; - method
- (void)addToLastEntryCacheSubKey:(id)arg0; - method
- (void)addToStagingAggregateEntryCache:(id)arg0; - method
- (long long)addToStagingEntryCache:(id)arg0; - method
- (BOOL)bgsqlDedicatedCacheEnabled; - method
- (unsigned long long)bgsqlFlushCountThisWindow; - method
- (id)bgsqlFlushWindowStart; - method
- (id)bgsqlStagingCache; - method
- (unsigned long long)bgsqlStagingCacheSize; - method
- (id)cacheContent; - method
- (id)cachedEntryForEntryKey:(id)arg0 withEntryID:(long long)arg1; - method
- (void)clearLastEntryCacheForEntryKey:(id)arg0; - method
- (id)connectionForKey:(id)arg0; - method
- (id)countSafetyDrop; - method
- (id)countWarnings; - method
- (void)dumpEntryCache:(id)arg0; - method
- (void)dumpLastEntryCache; - method
- (void)dumpStagingEntryCache; - method
- (long long)entryIDForNewEntry:(id)arg0; - method
- (void)enumerateEntryCache:(id)arg0 withBlock:(id /* block */)arg1; - method
- (void)enumerateStagingEntryCacheForEntryKey:(id)arg0 withBlock:(id /* block */)arg1; - method
- (void)enumerateStagingEntryCacheWithBlock:(id /* block */)arg0; - method
- (void)flushBGSQLStagingCacheToDatabase; - method
- (void)flushStagingAggregateEntryCacheToDatabase; - method
- (void)flushStagingEntryCacheToDatabase; - method
- (id)getEntryFromDBForEntryKey:(id)arg0 withMatchingKeyToValue:(id)arg1; - method
- (id)getQueryForAggregateEntryKey:(id)arg0 withMatchingKeyToValue:(id)arg1; - method
- (id)init; - method
- (void)insertIntoStagingEntryCache:(id)arg0; - method
- (id)lastCacheFlushDate; - method
- (id)lastEntryCache; - method
- (id)lastEntryCacheForEntryKey:(id)arg0; - method
- (id)lastEntryCacheForEntryKey:(id)arg0 withSubEntryKey:(id)arg1; - method
- (void)lastEntryCachePruneToDate:(id)arg0; - method
- (long long)lastEntryCacheSize; - method
- (int)limitOfType:(id)arg0 forEntryKey:(id)arg1; - method
- (void)logBGSQLCacheSizeWithInsertCount:(unsigned long long)arg0 updateCount:(unsigned long long)arg1 flushDate:(id)arg2; - method
- (void)logFullLastEntryCacheForEntryKey:(id)arg0; - method
- (void)logSizeOfEntryCache:(id)arg0; - method
- (void)logSizeOfLastEntryCache; - method
- (void)logSizeOfStagingEntryCache; - method
- (void)logStagingEntryCacheForEntryKey:(id)arg0; - method
- (id)matchingPairs:(id)arg0; - method
- (void)setBgsqlFlushCountThisWindow:(unsigned long long)arg0; - method
- (void)setBgsqlFlushWindowStart:(id)arg0; - method
- (void)setBgsqlStagingCache:(id)arg0; - method
- (void)setCacheContent:(id)arg0; - method
- (void)setCountSafetyDrop:(id)arg0; - method
- (void)setCountWarnings:(id)arg0; - method
- (void)setLastCacheFlushDate:(id)arg0; - method
- (void)setLastEntryCache:(id)arg0; - method
- (void)setLastEntryCacheSize:(long long)arg0; - method
- (void)setNextEntryIDForEntryKey:(id)arg0 toEntryID:(long long)arg1; - method
- (void)setStagingAggregateEntryCache:(id)arg0; - method
- (void)setStagingEntryCache:(id)arg0; - method
- (void)setStagingEntryCacheSize:(long long)arg0; - method
- (id)stagingAggregateEntryCache; - method
- (id)stagingEntryCache; - method
- (id)stagingEntryCacheForEntryKey:(id)arg0; - method
- (id)stagingEntryCacheForEntryKey:(id)arg0 withComparisons:(id)arg1 isSingleton:(BOOL)arg2; - method
- (id)stagingEntryCacheForEntryKey:(id)arg0 withID:(long long)arg1; - method
- (id)stagingEntryCacheForEntryKey:(id)arg0 withIDLessThan:(long long)arg1; - method
- (id)stagingEntryCacheIDsForEntryKey:(id)arg0; - method
- (long long)stagingEntryCacheSize; - method
- (long long)stagingEntryCacheSizeForEntryKey:(id)arg0; - method
- (void)trackBGSQLFlushFrequencyWithDate:(id)arg0; - method
- (void)updateStagingEntryCacheWithEntry:(id)arg0 withBlock:(id /* block */)arg1; - property
@property(readonly, nonatomic) BOOL bgsqlDedicatedCacheEnabled; - property
@property unsigned long long bgsqlFlushCountThisWindow; - property
@property(retain) NSDate *bgsqlFlushWindowStart; - property
@property(retain) NSMutableDictionary *bgsqlStagingCache; - property
@property(retain) NSMutableDictionary *cacheContent; - property
@property(retain) NSMutableDictionary *countSafetyDrop; - property
@property(retain) NSMutableDictionary *countWarnings; - property
@property(retain, nonatomic) NSDate *lastCacheFlushDate; - property
@property(retain) NSMutableDictionary *lastEntryCache; - property
@property long long lastEntryCacheSize; - property
@property(retain) NSMutableDictionary *stagingAggregateEntryCache; - property
@property(retain) NSMutableDictionary *stagingEntryCache; - property
@property long long stagingEntryCacheSize;
Header
@interface PLStorageCache : NSObject { BOOL _bgsqlDedicatedCacheEnabled; NSDate *_lastCacheFlushDate; long long _lastEntryCacheSize; long long _stagingEntryCacheSize; NSMutableDictionary *_cacheContent; NSMutableDictionary *_lastEntryCache; NSMutableDictionary *_stagingEntryCache; NSMutableDictionary *_stagingAggregateEntryCache; NSMutableDictionary *_countWarnings; NSMutableDictionary *_countSafetyDrop; NSMutableDictionary *_bgsqlStagingCache; unsigned long long _bgsqlFlushCountThisWindow; NSDate *_bgsqlFlushWindowStart; } @property (strong) NSMutableDictionary *lastEntryCache; @property (strong) NSMutableDictionary *stagingEntryCache; @property (strong) NSMutableDictionary *stagingAggregateEntryCache; @property (nonatomic, strong) NSDate *lastCacheFlushDate; @property (strong) NSMutableDictionary *countWarnings; @property (strong) NSMutableDictionary *countSafetyDrop; @property (strong) NSMutableDictionary *bgsqlStagingCache; @property unsigned long long bgsqlFlushCountThisWindow; @property (strong) NSDate *bgsqlFlushWindowStart; @property (nonatomic, readonly) BOOL bgsqlDedicatedCacheEnabled; @property long long lastEntryCacheSize; @property long long stagingEntryCacheSize; @property (strong) NSMutableDictionary *cacheContent; + (unsigned long long)bgsqlCacheLimit; + (BOOL)isBGSQLEntryKey:(id)isBGSQLEntryKey; + (id)sharedStorageCache; + (void)syncAndDispatchForEntryCache:(id)entryCache forEntryKey:(id)forEntryKey withBlock:(id /* block */)withBlock; - (void)enumerateStagingEntryCacheForEntryKey:(id)entryKey withBlock:(id /* block */)withBlock; - (void)logSizeOfLastEntryCache; - (void)setStagingEntryCacheSize:(long long)stagingEntryCacheSize; - (void)addToLastEntryCache:(id)lastEntryCache; - (void)setStagingAggregateEntryCache:(id)stagingAggregateEntryCache; - (id)lastCacheFlushDate; - (void)setBgsqlFlushCountThisWindow:(unsigned long long)bgsqlFlushCountThisWindow; - (void)logSizeOfStagingEntryCache; - (void)setNextEntryIDForEntryKey:(id)entryKey toEntryID:(long long)toEntryID; - (void)setLastEntryCacheSize:(long long)lastEntryCacheSize; - (id)lastEntryCache; - (void)flushBGSQLStagingCacheToDatabase; - (void)dumpStagingEntryCache; - (void)setBgsqlStagingCache:(id)bgsqlStagingCache; - (id)stagingEntryCache; - (long long)stagingEntryCacheSizeForEntryKey:(id)entryKey; - (id)stagingEntryCacheForEntryKey:(id)entryKey withComparisons:(id)withComparisons isSingleton:(BOOL)isSingleton; - (void)logBGSQLCacheSizeWithInsertCount:(unsigned long long)insertCount updateCount:(unsigned long long)updateCount flushDate:(id)flushDate; - (void)setStagingEntryCache:(id)stagingEntryCache; - (id)stagingEntryCacheForEntryKey:(id)entryKey withID:(long long)withID; - (long long)stagingEntryCacheSize; - (void).cxx_destruct; - (id)countSafetyDrop; - (id)getQueryForAggregateEntryKey:(id)aggregateEntryKey withMatchingKeyToValue:(id)value; - (id)getEntryFromDBForEntryKey:(id)entryKey withMatchingKeyToValue:(id)value; - (void)setLastEntryCache:(id)lastEntryCache; - (unsigned long long)bgsqlStagingCacheSize; - (id)stagingEntryCacheForEntryKey:(id)entryKey; - (void)setCountSafetyDrop:(id)countSafetyDrop; - (int)limitOfType:(id)type forEntryKey:(id)forEntryKey; - (void)lastEntryCachePruneToDate:(id)date; - (void)addToStagingAggregateEntryCache:(id)stagingAggregateEntryCache; - (void)dumpLastEntryCache; - (void)setCountWarnings:(id)countWarnings; - (void)logStagingEntryCacheForEntryKey:(id)entryKey; - (void)clearLastEntryCacheForEntryKey:(id)entryKey; - (id)init; - (id)lastEntryCacheForEntryKey:(id)entryKey withSubEntryKey:(id)withSubEntryKey; - (void)flushStagingAggregateEntryCacheToDatabase; - (long long)lastEntryCacheSize; - (id)cachedEntryForEntryKey:(id)entryKey withEntryID:(long long)withEntryID; - (void)logFullLastEntryCacheForEntryKey:(id)entryKey; - (void)setLastCacheFlushDate:(id)lastCacheFlushDate; - (unsigned long long)bgsqlFlushCountThisWindow; - (void)logSizeOfEntryCache:(id)entryCache; - (long long)addToBGSQLStagingCache:(id)bGSQLStagingCache; - (id)matchingPairs:(id)matchingPairs; - (id)stagingEntryCacheForEntryKey:(id)entryKey withIDLessThan:(long long)withIDLessThan; - (id)stagingEntryCacheIDsForEntryKey:(id)entryKey; - (id)countWarnings; - (void)enumerateEntryCache:(id)enumerateEntryCache withBlock:(id /* block */)withBlock; - (void)trackBGSQLFlushFrequencyWithDate:(id)date; - (id)stagingAggregateEntryCache; - (id)lastEntryCacheForEntryKey:(id)entryKey; - (void)dumpEntryCache:(id)dumpEntryCache; - (long long)entryIDForNewEntry:(id)newEntry; - (void)updateStagingEntryCacheWithEntry:(id)entry withBlock:(id /* block */)withBlock; - (void)insertIntoStagingEntryCache:(id)stagingEntryCache; - (id)cacheContent; - (void)flushStagingEntryCacheToDatabase; - (void)setCacheContent:(id)cacheContent; - (void)enumerateStagingEntryCacheWithBlock:(id /* block */)block; - (void)setBgsqlFlushWindowStart:(id)bgsqlFlushWindowStart; - (id)bgsqlFlushWindowStart; - (id)connectionForKey:(id)key; - (void)addToLastEntryCacheSubKey:(id)lastEntryCacheSubKey; - (BOOL)bgsqlDedicatedCacheEnabled; - (id)bgsqlStagingCache; - (long long)addToStagingEntryCache:(id)stagingEntryCache; @end