Objective-CclassPowerlogCore

@interface PLStorageCache : NSObject

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 99

  1. method+ (unsigned long long)bgsqlCacheLimit;
  2. method+ (BOOL)isBGSQLEntryKey:(id)arg0;
  3. method+ (id)sharedStorageCache;
  4. method+ (void)syncAndDispatchForEntryCache:(id)arg0 forEntryKey:(id)arg1 withBlock:(id /* block */)arg2;
  5. ivarBOOL _bgsqlDedicatedCacheEnabled;+0x8
  6. ivarunsigned long long _bgsqlFlushCountThisWindow;+0x60
  7. ivarNSDate *_bgsqlFlushWindowStart;+0x68
  8. ivarNSMutableDictionary *_bgsqlStagingCache;+0x58
  9. ivarNSMutableDictionary *_cacheContent;+0x28
  10. ivarNSMutableDictionary *_countSafetyDrop;+0x50
  11. ivarNSMutableDictionary *_countWarnings;+0x48
  12. ivarNSDate *_lastCacheFlushDate;+0x10
  13. ivarNSMutableDictionary *_lastEntryCache;+0x30
  14. ivarlong long _lastEntryCacheSize;+0x18
  15. ivarNSMutableDictionary *_stagingAggregateEntryCache;+0x40
  16. ivarNSMutableDictionary *_stagingEntryCache;+0x38
  17. ivarlong long _stagingEntryCacheSize;+0x20
  18. method- (void).cxx_destruct;
  19. method- (long long)addToBGSQLStagingCache:(id)arg0;
  20. method- (void)addToLastEntryCache:(id)arg0;
  21. method- (void)addToLastEntryCacheSubKey:(id)arg0;
  22. method- (void)addToStagingAggregateEntryCache:(id)arg0;
  23. method- (long long)addToStagingEntryCache:(id)arg0;
  24. method- (BOOL)bgsqlDedicatedCacheEnabled;
  25. method- (unsigned long long)bgsqlFlushCountThisWindow;
  26. method- (id)bgsqlFlushWindowStart;
  27. method- (id)bgsqlStagingCache;
  28. method- (unsigned long long)bgsqlStagingCacheSize;
  29. method- (id)cacheContent;
  30. method- (id)cachedEntryForEntryKey:(id)arg0 withEntryID:(long long)arg1;
  31. method- (void)clearLastEntryCacheForEntryKey:(id)arg0;
  32. method- (id)connectionForKey:(id)arg0;
  33. method- (id)countSafetyDrop;
  34. method- (id)countWarnings;
  35. method- (void)dumpEntryCache:(id)arg0;
  36. method- (void)dumpLastEntryCache;
  37. method- (void)dumpStagingEntryCache;
  38. method- (long long)entryIDForNewEntry:(id)arg0;
  39. method- (void)enumerateEntryCache:(id)arg0 withBlock:(id /* block */)arg1;
  40. method- (void)enumerateStagingEntryCacheForEntryKey:(id)arg0 withBlock:(id /* block */)arg1;
  41. method- (void)enumerateStagingEntryCacheWithBlock:(id /* block */)arg0;
  42. method- (void)flushBGSQLStagingCacheToDatabase;
  43. method- (void)flushStagingAggregateEntryCacheToDatabase;
  44. method- (void)flushStagingEntryCacheToDatabase;
  45. method- (id)getEntryFromDBForEntryKey:(id)arg0 withMatchingKeyToValue:(id)arg1;
  46. method- (id)getQueryForAggregateEntryKey:(id)arg0 withMatchingKeyToValue:(id)arg1;
  47. method- (id)init;
  48. method- (void)insertIntoStagingEntryCache:(id)arg0;
  49. method- (id)lastCacheFlushDate;
  50. method- (id)lastEntryCache;
  51. method- (id)lastEntryCacheForEntryKey:(id)arg0;
  52. method- (id)lastEntryCacheForEntryKey:(id)arg0 withSubEntryKey:(id)arg1;
  53. method- (void)lastEntryCachePruneToDate:(id)arg0;
  54. method- (long long)lastEntryCacheSize;
  55. method- (int)limitOfType:(id)arg0 forEntryKey:(id)arg1;
  56. method- (void)logBGSQLCacheSizeWithInsertCount:(unsigned long long)arg0 updateCount:(unsigned long long)arg1 flushDate:(id)arg2;
  57. method- (void)logFullLastEntryCacheForEntryKey:(id)arg0;
  58. method- (void)logSizeOfEntryCache:(id)arg0;
  59. method- (void)logSizeOfLastEntryCache;
  60. method- (void)logSizeOfStagingEntryCache;
  61. method- (void)logStagingEntryCacheForEntryKey:(id)arg0;
  62. method- (id)matchingPairs:(id)arg0;
  63. method- (void)setBgsqlFlushCountThisWindow:(unsigned long long)arg0;
  64. method- (void)setBgsqlFlushWindowStart:(id)arg0;
  65. method- (void)setBgsqlStagingCache:(id)arg0;
  66. method- (void)setCacheContent:(id)arg0;
  67. method- (void)setCountSafetyDrop:(id)arg0;
  68. method- (void)setCountWarnings:(id)arg0;
  69. method- (void)setLastCacheFlushDate:(id)arg0;
  70. method- (void)setLastEntryCache:(id)arg0;
  71. method- (void)setLastEntryCacheSize:(long long)arg0;
  72. method- (void)setNextEntryIDForEntryKey:(id)arg0 toEntryID:(long long)arg1;
  73. method- (void)setStagingAggregateEntryCache:(id)arg0;
  74. method- (void)setStagingEntryCache:(id)arg0;
  75. method- (void)setStagingEntryCacheSize:(long long)arg0;
  76. method- (id)stagingAggregateEntryCache;
  77. method- (id)stagingEntryCache;
  78. method- (id)stagingEntryCacheForEntryKey:(id)arg0;
  79. method- (id)stagingEntryCacheForEntryKey:(id)arg0 withComparisons:(id)arg1 isSingleton:(BOOL)arg2;
  80. method- (id)stagingEntryCacheForEntryKey:(id)arg0 withID:(long long)arg1;
  81. method- (id)stagingEntryCacheForEntryKey:(id)arg0 withIDLessThan:(long long)arg1;
  82. method- (id)stagingEntryCacheIDsForEntryKey:(id)arg0;
  83. method- (long long)stagingEntryCacheSize;
  84. method- (long long)stagingEntryCacheSizeForEntryKey:(id)arg0;
  85. method- (void)trackBGSQLFlushFrequencyWithDate:(id)arg0;
  86. method- (void)updateStagingEntryCacheWithEntry:(id)arg0 withBlock:(id /* block */)arg1;
  87. property@property(readonly, nonatomic) BOOL bgsqlDedicatedCacheEnabled;
  88. property@property unsigned long long bgsqlFlushCountThisWindow;
  89. property@property(retain) NSDate *bgsqlFlushWindowStart;
  90. property@property(retain) NSMutableDictionary *bgsqlStagingCache;
  91. property@property(retain) NSMutableDictionary *cacheContent;
  92. property@property(retain) NSMutableDictionary *countSafetyDrop;
  93. property@property(retain) NSMutableDictionary *countWarnings;
  94. property@property(retain, nonatomic) NSDate *lastCacheFlushDate;
  95. property@property(retain) NSMutableDictionary *lastEntryCache;
  96. property@property long long lastEntryCacheSize;
  97. property@property(retain) NSMutableDictionary *stagingAggregateEntryCache;
  98. property@property(retain) NSMutableDictionary *stagingEntryCache;
  99. property@property long long stagingEntryCacheSize;
@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