Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOCacheManager.m File Reference
+ Include dependency graph for OOCacheManager.m:

Go to the source code of this file.

Classes

category  OOCacheManager(Private)
 
category  OOCacheManager(PlatformSpecific)
 
class  OOAsyncCacheWriter
 

Macros

#define WRITE_ASYNC   1
 
#define PROFILE_WRITES   0
 
#define CACHE_PLIST_FORMAT   NSPropertyListBinaryFormat_v1_0
 

Enumerations

enum  { kEndianTagValue = 0x0123456789ABCDEFULL , kFormatVersionValue = 219 }
 

Variables

static NSString *const kOOLogDataCacheFound = @"dataCache.found"
 
static NSString *const kOOLogDataCacheNotFound = @"dataCache.notFound"
 
static NSString *const kOOLogDataCacheRebuild = @"dataCache.rebuild"
 
static NSString *const kOOLogDataCacheWriteSuccess = @"dataCache.write.success"
 
static NSString *const kOOLogDataCacheWriteFailed = @"dataCache.write.failed"
 
static NSString *const kOOLogDataCacheRetrieveSuccess = @"dataCache.retrieve.success"
 
static NSString *const kOOLogDataCacheRetrieveFailed = @"dataCache.retrieve.failed"
 
static NSString *const kOOLogDataCacheSetSuccess = @"dataCache.set.success"
 
static NSString *const kOOLogDataCacheSetFailed = @"dataCache.set.failed"
 
static NSString *const kOOLogDataCacheRemoveSuccess = @"dataCache.remove.success"
 
static NSString *const kOOLogDataCacheClearSuccess = @"dataCache.clear.success"
 
static NSString *const kOOLogDataCacheBuildPathError = @"dataCache.write.buildPath.failed"
 
static NSString *const kOOLogDataCacheSerializationError = @"dataCache.write.serialize.failed"
 
static NSString *const kCacheKeyVersion = @"version"
 
static NSString *const kCacheKeyEndianTag = @"endian tag"
 
static NSString *const kCacheKeyFormatVersion = @"format version"
 
static NSString *const kCacheKeyCaches = @"caches"
 
static OOCacheManagersSingleton = nil
 

Macro Definition Documentation

◆ CACHE_PLIST_FORMAT

#define CACHE_PLIST_FORMAT   NSPropertyListBinaryFormat_v1_0

Definition at line 39 of file OOCacheManager.m.

◆ PROFILE_WRITES

#define PROFILE_WRITES   0

Definition at line 34 of file OOCacheManager.m.

◆ WRITE_ASYNC

#define WRITE_ASYNC   1

Definition at line 33 of file OOCacheManager.m.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kEndianTagValue 
kFormatVersionValue 

Definition at line 73 of file OOCacheManager.m.

74{
75 kEndianTagValue = 0x0123456789ABCDEFULL,
77};
@ kFormatVersionValue
@ kEndianTagValue

Variable Documentation

◆ kCacheKeyCaches

NSString* const kCacheKeyCaches = @"caches"
static

Definition at line 70 of file OOCacheManager.m.

◆ kCacheKeyEndianTag

NSString* const kCacheKeyEndianTag = @"endian tag"
static

Definition at line 68 of file OOCacheManager.m.

◆ kCacheKeyFormatVersion

NSString* const kCacheKeyFormatVersion = @"format version"
static

Definition at line 69 of file OOCacheManager.m.

◆ kCacheKeyVersion

NSString* const kCacheKeyVersion = @"version"
static

Definition at line 67 of file OOCacheManager.m.

◆ kOOLogDataCacheBuildPathError

NSString* const kOOLogDataCacheBuildPathError = @"dataCache.write.buildPath.failed"
static

Definition at line 64 of file OOCacheManager.m.

◆ kOOLogDataCacheClearSuccess

NSString* const kOOLogDataCacheClearSuccess = @"dataCache.clear.success"
static

Definition at line 63 of file OOCacheManager.m.

◆ kOOLogDataCacheFound

NSString* const kOOLogDataCacheFound = @"dataCache.found"
static

Definition at line 53 of file OOCacheManager.m.

◆ kOOLogDataCacheNotFound

NSString* const kOOLogDataCacheNotFound = @"dataCache.notFound"
static

Definition at line 54 of file OOCacheManager.m.

◆ kOOLogDataCacheRebuild

NSString* const kOOLogDataCacheRebuild = @"dataCache.rebuild"
static

Definition at line 55 of file OOCacheManager.m.

◆ kOOLogDataCacheRemoveSuccess

NSString* const kOOLogDataCacheRemoveSuccess = @"dataCache.remove.success"
static

Definition at line 62 of file OOCacheManager.m.

◆ kOOLogDataCacheRetrieveFailed

NSString* const kOOLogDataCacheRetrieveFailed = @"dataCache.retrieve.failed"
static

Definition at line 59 of file OOCacheManager.m.

◆ kOOLogDataCacheRetrieveSuccess

NSString* const kOOLogDataCacheRetrieveSuccess = @"dataCache.retrieve.success"
static

Definition at line 58 of file OOCacheManager.m.

◆ kOOLogDataCacheSerializationError

NSString* const kOOLogDataCacheSerializationError = @"dataCache.write.serialize.failed"
static

Definition at line 65 of file OOCacheManager.m.

◆ kOOLogDataCacheSetFailed

NSString* const kOOLogDataCacheSetFailed = @"dataCache.set.failed"
static

Definition at line 61 of file OOCacheManager.m.

◆ kOOLogDataCacheSetSuccess

NSString* const kOOLogDataCacheSetSuccess = @"dataCache.set.success"
static

Definition at line 60 of file OOCacheManager.m.

◆ kOOLogDataCacheWriteFailed

NSString* const kOOLogDataCacheWriteFailed = @"dataCache.write.failed"
static

Definition at line 57 of file OOCacheManager.m.

◆ kOOLogDataCacheWriteSuccess

NSString* const kOOLogDataCacheWriteSuccess = @"dataCache.write.success"
static

Definition at line 56 of file OOCacheManager.m.

◆ sSingleton

OOCacheManager* sSingleton = nil
static

Definition at line 80 of file OOCacheManager.m.