Sha256: 69ef4b69320f7bf632f649518a6e0c1cf1429ffae486b977e1ea201ba4aa17f0
Contents?: true
Size: 1.33 KB
Versions: 4
Compression:
Stored size: 1.33 KB
Contents
#import <Foundation/Foundation.h> #import "YapDatabaseConnection.h" /** * When a connection is created via [database newConnection] is will be handed one of these objects. * Thus the connection will inherit its initial configuration via the defaults configured for the parent database. * * Of course, the connection may then override these default configuration values, and configure itself as needed. * * @see YapDatabase defaultObjectCacheEnabled * @see YapDatabase defaultObjectCacheLimit * * @see YapDatabase defaultMetadataCacheEnabled * @see YapDatabase defaultMetadataCacheLimit * * @see YapDatabase defaultObjectPolicy * @see YapDatabase defaultMetadataPolicy * * @see YapDatabase defaultAutoFlushMemoryLevel **/ @interface YapDatabaseDefaults : NSObject <NSCopying> @property (nonatomic, assign, readwrite) BOOL objectCacheEnabled; @property (nonatomic, assign, readwrite) NSUInteger objectCacheLimit; @property (nonatomic, assign, readwrite) BOOL metadataCacheEnabled; @property (nonatomic, assign, readwrite) NSUInteger metadataCacheLimit; @property (nonatomic, assign, readwrite) YapDatabasePolicy objectPolicy; @property (nonatomic, assign, readwrite) YapDatabasePolicy metadataPolicy; #if TARGET_OS_IPHONE @property (nonatomic, assign, readwrite) YapDatabaseConnectionFlushMemoryFlags autoFlushMemoryFlags; #endif @end
Version data entries
4 entries across 2 versions & 1 rubygems